Skip to content

Commit 34a5650

Browse files
committed
Fixed cppcheck-opensource#8042 (Unclear semantics of --data-dir option of cppcheck-gui)
1 parent f51a709 commit 34a5650

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

gui/main.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,9 @@ static void ShowUsage()
107107
" -l <file> Open given results xml file\n"
108108
" -d <directory> Specify the directory that was checked to generate the results xml specified with -l\n"
109109
" -v, --version Show program version\n"
110-
" --data-dir=<directory> Specify directory where GUI datafiles are located (translations, cfg)");
110+
" --data-dir=<directory> This option is for installation scripts so they can configure the directory where\n"
111+
" datafiles are located (translations, cfg). The GUI is not started when this option\n"
112+
" is used.");
111113
#if defined(_WIN32)
112114
QMessageBox msgBox(QMessageBox::Information,
113115
MainWindow::tr("Cppcheck GUI - Command line parameters"),

0 commit comments

Comments
 (0)