src/App/Application: Improve FC CLI help output
Help the user find more details info by directing them to the exact wiki page needed instead of the front page of the official site.
This commit is contained in:
@@ -2453,7 +2453,7 @@ void Application::ParseOptions(int ac, char ** av)
|
||||
if (vm.count("help")) {
|
||||
std::stringstream str;
|
||||
str << mConfig["ExeName"] << endl << endl;
|
||||
str << "For detailed description see http://www.freecadweb.org" << endl<<endl;
|
||||
str << "For a detailed description see https://www.freecadweb.org/wiki/Start_up_and_Configuration" << endl<<endl;
|
||||
str << "Usage: " << mConfig["ExeName"] << " [options] File1 File2 ..." << endl << endl;
|
||||
str << visible << endl;
|
||||
throw Base::ProgramInformation(str.str());
|
||||
@@ -2941,4 +2941,3 @@ std::string Application::FindHomePath(const char* sCall)
|
||||
#else
|
||||
# error "std::string Application::FindHomePath(const char*) not implemented"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user