This commit is contained in:
Markus 2019-09-07 18:53:54 +02:00
parent 92fdecab39
commit 04327ba908
3 changed files with 13 additions and 4 deletions

View File

@ -7,7 +7,7 @@ unix: LIBS += -lcurl
win32: LIBS += -L$${_PRO_FILE_PWD_}\curl -lcurl


CONFIG += c++11 console
CONFIG += c++14 console
CONFIG -= app_bundle

# The following define makes your compiler emit warnings if you use

View File

@ -89,7 +89,17 @@ int manageParameter(Settings &settings, int argc, char **argv)
return unterOption_url(&settings, argc, argv);

} else if (strncmp(argv[1], "--version", strlen(argv[1])) == 0) {
std::cout << "Version: " << settings.version << std::endl;
std::cout << "Programinfos:" << std::endl
<< " > Program Version: " << settings.version << std::endl
<< " > Defaults Datei Version: " << settings.defaultFileVersion << std::endl
<< " > C++ Standart: ";
if(__cplusplus == 1) std::cout << "C++_Pre_C++98" << std::endl;
else if (__cplusplus == 199711) std::cout << "C++98" << std::endl;
else if (__cplusplus == 201103) std::cout << "C++11" << std::endl;
else if (__cplusplus == 201402) std::cout << "C++14" << std::endl;
else if (__cplusplus == 201703) std::cout << "C++17" << std::endl;
else std::cout << "C++_Newer_C++17" << std::endl;
std::cout << " > " << sizeof (void *) * 8 << " Bit Version" << std::endl;
return -1;

} else if (strncmp(argv[1], "search", strlen(argv[1])) == 0) {
@ -1006,7 +1016,6 @@ int setS5ProxytoSettings(Settings &settings, std::string Optarg)

}


bool makePathIsOk(std::string path)
{
if(path == "") {

View File

@ -40,7 +40,7 @@ struct Settings {
proxy_ip = "127.0.0.1",
languages = "GerDub,GerSub,Eng",
genaueHoster = "",
version = "2.7.1",
version = "2.7.2",
defaultFileVersion="1.3",
outputFilePath = "",
default_checkPath = "",