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);
|
"", &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>
|
||||||
|
|
Loading…
Reference in New Issue