Add default value (0) to --context.
This commit is contained in:
parent
1f82d9927a
commit
3222019c69
|
@ -68,8 +68,8 @@ po::variables_map parse_options(int argc, char *argv[])
|
|||
translate("Use additional PATTERN for matching.").str().data())
|
||||
("raw,a",
|
||||
translate("Do not strip HTML before searching.").str().data())
|
||||
("context,C", po::value<std::vector<std::uint64_t>>()
|
||||
->value_name(translate("NUM")),
|
||||
("context,C", po::value<std::uint64_t>()
|
||||
->value_name(translate("NUM"))->default_value(0),
|
||||
translate("Print NUM words of context around matches.").str().data())
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user