diff --git a/parameterManager.cpp b/parameterManager.cpp index 4079366..0fcfa61 100644 --- a/parameterManager.cpp +++ b/parameterManager.cpp @@ -1361,6 +1361,13 @@ int unterOption_RemoveSettings_or_CacheDir(Settings *settings, int argc, char ** } if(settings->name.length() > 0) settings->name.pop_back(); + else { + std::cout << " => Error: Keinen Ordner angegeben." << std::endl; + std::cout << "Aufruf: " << settings->programName << " --remove [OPTION]... [settings|cache|all]" << std::endl; + std::cout << "\"" << settings->programName << " --remove --help\" liefert weitere Informationen." << std::endl; + return 22; + } + if(settings->debugMode) diff --git a/parameterManager.h b/parameterManager.h index 6b75d4d..3195224 100644 --- a/parameterManager.h +++ b/parameterManager.h @@ -63,7 +63,7 @@ struct Settings { proxy_ip = "127.0.0.1", languages = "GerDub,GerSub,Eng,", genaueHoster = "", - version = "3.4.1", + version = "3.4.2", defaultFileVersion="1.6", outputFilePath = "", default_checkPath = "",