forked from markus/S_New4
replace good looking symbol through a asci symbol
This commit is contained in:
parent
3693cf7658
commit
48304a4d58
@ -35,7 +35,7 @@ int manageParameter(Settings &settings, int argc, char **argv)
|
||||
if(argc < 2) {
|
||||
std::cout << " => Error: Keine Unteroption angegeben." << std::endl;
|
||||
std::cout << "Aufruf: " << getProgramName() << " [Unteroption] [PARAMETER]" << std::endl;
|
||||
std::cout << "„" << getProgramName() << " --help“ liefert weitere Informationen." << std::endl;
|
||||
std::cout << "\"" << getProgramName() << " --help\" liefert weitere Informationen." << std::endl;
|
||||
return 1;
|
||||
}
|
||||
|
||||
@ -49,7 +49,7 @@ int manageParameter(Settings &settings, int argc, char **argv)
|
||||
std::cout << " > '" << argv[1] << "' =? " << e << std::endl;
|
||||
}
|
||||
std::cout << "Aufruf: " << getProgramName() << " [Unteroption] [PARAMETER]" << std::endl;
|
||||
std::cout << "„" << getProgramName() << " --help“ liefert weitere Informationen." << std::endl;
|
||||
std::cout << "\"" << getProgramName() << " --help\" liefert weitere Informationen." << std::endl;
|
||||
return 2;
|
||||
}
|
||||
res.clear();
|
||||
@ -264,13 +264,13 @@ int unterOption_help()
|
||||
<< std::endl;
|
||||
|
||||
std::cout << "Unteroptionen:" << std::endl
|
||||
<< "\t„--help“\tGibt dieses Helpmenue aus." << std::endl
|
||||
<< "\t„--version“\tGibt die Version des Programmes aus." << std::endl
|
||||
<< "\t„url“\t\tModus um eigene Redirect-Links umzuwandeln." << std::endl
|
||||
<< "\t„default“\tModus um Links von Serien zu bekommen." << std::endl
|
||||
<< "\t„search“\tModus um Serien zu suchen." << std::endl
|
||||
<< "\t„info“\t\tModus um Infos einer Serien zu bekommen." << std::endl
|
||||
<< "\t„clean“\t\tModus um Cookie-Files zu löschen." << std::endl;
|
||||
<< "\t\"--help\"\tGibt dieses Helpmenue aus." << std::endl
|
||||
<< "\t\"--version\"\tGibt die Version des Programmes aus." << std::endl
|
||||
<< "\t\"url\"\t\tModus um eigene Redirect-Links umzuwandeln." << std::endl
|
||||
<< "\t\"default\"\tModus um Links von Serien zu bekommen." << std::endl
|
||||
<< "\t\"search\"\tModus um Serien zu suchen." << std::endl
|
||||
<< "\t\"info\"\t\tModus um Infos einer Serien zu bekommen." << std::endl
|
||||
<< "\t\"clean\"\t\tModus um Cookie-Files zu löschen." << std::endl;
|
||||
|
||||
return -1;
|
||||
}
|
||||
@ -446,7 +446,7 @@ int unterOption_default(Settings *settings, int argc, char ** argv)
|
||||
if(argc > optind)
|
||||
if(argv[optind][0] != '-' && std::string(argv[optind]).find(settings->pathSymbol) != std::string::npos) {
|
||||
std::cout << " => Upps: Hast du -c (--colorless) mit -C (--check-dir) verwechselt?" << std::endl
|
||||
<< " (Hat “Argument“ mit “"<< settings->pathSymbol << "“: '-c " << std::string(argv[optind]) << "')." << std::endl;
|
||||
<< " (Hat \"Argument\" mit \""<< settings->pathSymbol << "\": '-c " << std::string(argv[optind]) << "')." << std::endl;
|
||||
return -1;
|
||||
}
|
||||
break;
|
||||
@ -460,7 +460,7 @@ int unterOption_default(Settings *settings, int argc, char ** argv)
|
||||
return -1;
|
||||
default:
|
||||
std::cout << "Aufruf: " << getProgramName() << " default [OPTION]... [NAME]..." << std::endl;
|
||||
std::cout << "„" << getProgramName() << " default --help“ liefert weitere Informationen." << std::endl;
|
||||
std::cout << "\"" << getProgramName() << " default --help\" liefert weitere Informationen." << std::endl;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
@ -651,7 +651,7 @@ int unterOption_url(Settings *settings, int argc, char **argv)
|
||||
return -1;
|
||||
default:
|
||||
std::cout << "Aufruf: " << getProgramName() << " url [OPTION]... [URL]..." << std::endl;
|
||||
std::cout << "„" << getProgramName() << " url --help“ liefert weitere Informationen." << std::endl;
|
||||
std::cout << "\"" << getProgramName() << " url --help\" liefert weitere Informationen." << std::endl;
|
||||
return 21;
|
||||
}
|
||||
}
|
||||
@ -772,7 +772,7 @@ int unterOption_search(Settings *settings, int argc, char **argv)
|
||||
break;
|
||||
default:
|
||||
std::cout << "Aufruf: " << getProgramName() << " search [OPTION]... [NAME]..." << std::endl;
|
||||
std::cout << "„" << getProgramName() << " search --help“ liefert weitere Informationen." << std::endl;
|
||||
std::cout << "\"" << getProgramName() << " search --help\" liefert weitere Informationen." << std::endl;
|
||||
return 21;
|
||||
}
|
||||
}
|
||||
@ -886,7 +886,7 @@ int unterOption_info(Settings *settings, int argc, char **argv)
|
||||
break;
|
||||
default:
|
||||
std::cout << "Aufruf: " << getProgramName() << " info [OPTION]... [NAME]..." << std::endl;
|
||||
std::cout << "„" << getProgramName() << " info --help“ liefert weitere Informationen." << std::endl;
|
||||
std::cout << "\"" << getProgramName() << " info --help\" liefert weitere Informationen." << std::endl;
|
||||
return 21;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user