Confused option description with default value for --search-all.

This commit is contained in:
tastytea 2019-05-19 11:50:41 +02:00
parent 6ad00c64d5
commit 26623cc95b
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 2 deletions

View File

@ -55,11 +55,12 @@ const options parse_options(const int argc, const char *argv[])
"", &span); "", &span);
op.add<popl::Value<string>> op.add<popl::Value<string>>
("s", "search-tags", ("s", "search-tags",
"Search for tags. Format: tag1 AND tag2 OR tag3.", "Search in tags. Format: tag1 AND tag2 OR tag3.",
"", &search_tags); "", &search_tags);
op.add<popl::Value<string>> op.add<popl::Value<string>>
("", "search-all", ("", "search-all",
"", "Search tags, title, description and full text.", &search_all); "Search in tags, title, description and full text.",
"", &search_all);
auto option_help = op.add<popl::Switch> auto option_help = op.add<popl::Switch>
("h", "help", "Show this help message."); ("h", "help", "Show this help message.");
auto option_version = op.add<popl::Switch> auto option_version = op.add<popl::Switch>