Add --raw and --context again.
Forgot to re-implement them when I overhauled the option parsing…
This commit is contained in:
parent
8d5565a72c
commit
2b91a839cc
|
@ -194,6 +194,11 @@ options parse_again(const po::variables_map &vm)
|
|||
}
|
||||
opts.grep = vm.count("grep") > 0;
|
||||
opts.ignore_case = vm.count("ignore-case") > 0;
|
||||
opts.raw = vm.count("raw") > 0;
|
||||
if (vm.count("context") > 0)
|
||||
{
|
||||
opts.context = vm["context"].as<std::uint64_t>();
|
||||
}
|
||||
opts.nocolor = vm.count("nocolor") > 0;
|
||||
if (vm.count("no-filename") > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user