forked from markus/S_New4
fix --help at clean
This commit is contained in:
parent
383567207d
commit
0593d5e75f
@ -731,8 +731,8 @@ bool fileExists (const std::string& name) {
|
|||||||
|
|
||||||
void unterOption_clean(Settings * settings, int argc, char **argv)
|
void unterOption_clean(Settings * settings, int argc, char **argv)
|
||||||
{
|
{
|
||||||
if(argc > 1)
|
if(argc > 2)
|
||||||
if(strcmp(argv[1], "--help") == 0) {
|
if(strcmp(argv[2], "--help") == 0) {
|
||||||
std::cout << "Aufruf: " << getProgramName() << " clean" << std::endl << std::endl;
|
std::cout << "Aufruf: " << getProgramName() << " clean" << std::endl << std::endl;
|
||||||
std::cout << "Mit dieser Function werden die Cookie-Files gelöscht." << std::endl;
|
std::cout << "Mit dieser Function werden die Cookie-Files gelöscht." << std::endl;
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user