Fixed quibbles.

This commit is contained in:
Penguin-Guru 2021-11-05 17:58:35 -07:00
parent c6cb01c4b8
commit 694f093658
2 changed files with 9 additions and 5 deletions

View file

@ -1921,7 +1921,7 @@ Application::Application(
if (parser->isSet("scripts")) {
_defaultScriptsLocation.setPath(parser->value("scripts")); // Might need to be done in "main.cpp".
_overrideDefaultScriptsLocation = true;
_overrideDefaultScriptsLocation = true;
} else {
_overrideDefaultScriptsLocation = false;
}

View file

@ -93,7 +93,8 @@ int main(int argc, const char* argv[]) {
);
QCommandLineOption listenPortOption(
"listenPort",
"Port to listen on."
"Port to listen on.",
"port_number"
);
QCommandLineOption serverContentPathOption(
"serverContentPath",
@ -151,15 +152,18 @@ int main(int argc, const char* argv[]) {
);
QCommandLineOption concurrentDownloadsOption(
"concurrent-downloads",
"Maximum concurrent resource downloads. Default is 16, except for Android where it is 4."
"Maximum concurrent resource downloads. Default is 16, except for Android where it is 4.",
"integer"
);
QCommandLineOption avatarURLOption(
"avatarURL",
"Override the avatar U.R.L."
"Override the avatar U.R.L.",
"url"
);
QCommandLineOption replaceAvatarURLOption(
"replace-avatar-url",
"Replaces the avatar U.R.L. When used with --avatarURL, this takes precedence."
"Replaces the avatar U.R.L. When used with --avatarURL, this takes precedence.",
"url"
);
QCommandLineOption setBookmarkOption(
"setBookmark",