From 0593d5e75f7a25912051e2cce672598eb0856c90 Mon Sep 17 00:00:00 2001 From: Markus Date: Fri, 16 Aug 2019 20:21:53 +0200 Subject: [PATCH] fix --help at clean --- parameterManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parameterManager.cpp b/parameterManager.cpp index 5a87db0..d261cf8 100644 --- a/parameterManager.cpp +++ b/parameterManager.cpp @@ -731,8 +731,8 @@ bool fileExists (const std::string& name) { void unterOption_clean(Settings * settings, int argc, char **argv) { - if(argc > 1) - if(strcmp(argv[1], "--help") == 0) { + if(argc > 2) + if(strcmp(argv[2], "--help") == 0) { std::cout << "Aufruf: " << getProgramName() << " clean" << std::endl << std::endl; std::cout << "Mit dieser Function werden die Cookie-Files gelöscht." << std::endl; return;