summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
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;