From 34a56506cb2d7d40f35cd36db6e42301626b4dc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 1 May 2017 11:41:22 +0200 Subject: [PATCH] Fixed #8042 (Unclear semantics of --data-dir option of cppcheck-gui) --- gui/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"),