From d99188384dbede308f3c011ee15f0a62858f2a9c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 28 Apr 2017 15:41:03 +0200 Subject: Add option to make pvs box checked by default Refs #3105 --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index aa4eb30..31bd20e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -50,6 +50,7 @@ int main(int argc, char *argv[]) { " -t, --theme theme\n" " --template-mode how to treat template entries (IGNORE or BUMP)\n" " -p, --pvs show pvs options\n" + " --pvs-checked check pvs box by default\n" " -D, --debug print debug information\n" " -v, --version print version and exit\n" " -h, --help print usage information and exit\n" @@ -271,6 +272,9 @@ int main(int argc, char *argv[]) { if (cmdOptions.contains("pvs")) { g_pvsEnabled = true; } + if (cmdOptions.contains("pvs-checked")) { + g_pvsChecked = true; + } if (cmdOptions.contains("autoquit")) { bool ok = false; -- cgit v1.2.3-55-g7522