Report Pro version flags in --version output.
This commit is contained in:
parent
c8d1c2006e
commit
a559e27102
1 changed files with 14 additions and 0 deletions
|
@ -249,6 +249,20 @@ bool Util::Config::parseArgs(int & argc, char ** & argv) {
|
|||
#ifdef WITH_THREADNAMES
|
||||
std::cout << "- Flag: With threadnames. Debuggers will show sensible human-readable thread names." << std::endl;
|
||||
#endif
|
||||
/*LTS-START*/
|
||||
#ifdef BIGMETA
|
||||
std::cout << "- Flag: Big metadata. Enabled longer live stream durations. Breaks compatibility with DTSH files generated by versions without this flag." << std::endl;
|
||||
#endif
|
||||
#ifndef UPDATER
|
||||
std::cout << "- Flag: Updater disabled. Server will not call back home and attempt to search for updates at regular intervals." << std::endl;
|
||||
#endif
|
||||
#ifdef NOAUTH
|
||||
std::cout << "- Flag: No authentication. API calls do not require logging in with a valid account first. Make sure access to API port isn't public!" << std::endl;
|
||||
#endif
|
||||
#ifdef KILLONEXIT
|
||||
std::cout << "- Flag: Kill on exit. All binaries will forcibly shut down all their children on exit. This disabled rolling restart support." << std::endl;
|
||||
#endif
|
||||
/*LTS-END*/
|
||||
std::cout << "Built on " __DATE__ ", " __TIME__ << std::endl;
|
||||
exit(1);
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue