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;