diff --git a/src/options.cpp b/src/options.cpp index dedf331..ca19743 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -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(); + } opts.nocolor = vm.count("nocolor") > 0; if (vm.count("no-filename") > 0) {