Confused option description with default value for --search-all.
This commit is contained in:
parent
6ad00c64d5
commit
26623cc95b
|
@ -55,11 +55,12 @@ const options parse_options(const int argc, const char *argv[])
|
|||
"", &span);
|
||||
op.add<popl::Value<string>>
|
||||
("s", "search-tags",
|
||||
"Search for tags. Format: tag1 AND tag2 OR tag3.",
|
||||
"Search in tags. Format: tag1 AND tag2 OR tag3.",
|
||||
"", &search_tags);
|
||||
op.add<popl::Value<string>>
|
||||
("", "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>
|
||||
("h", "help", "Show this help message.");
|
||||
auto option_version = op.add<popl::Switch>
|
||||
|
|
Loading…
Reference in New Issue
Block a user