diff --git a/gui/main.cpp b/gui/main.cpp index 254bdd1c9..677f83edd 100644 --- a/gui/main.cpp +++ b/gui/main.cpp @@ -107,7 +107,9 @@ static void ShowUsage() " -l Open given results xml file\n" " -d Specify the directory that was checked to generate the results xml specified with -l\n" " -v, --version Show program version\n" - " --data-dir= Specify directory where GUI datafiles are located (translations, cfg)"); + " --data-dir= This option is for installation scripts so they can configure the directory where\n" + " datafiles are located (translations, cfg). The GUI is not started when this option\n" + " is used."); #if defined(_WIN32) QMessageBox msgBox(QMessageBox::Information, MainWindow::tr("Cppcheck GUI - Command line parameters"),