From: Claudio Cambra Date: Mon, 8 May 2023 12:24:20 +0000 (+0800) Subject: Rename forcelegacyimport option to clearer forcelegacyconfigimport X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~10^2~46^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3dd838d28dba739d0679479bb5fe9e1748db9d51;p=nextcloud-desktop.git Rename forcelegacyimport option to clearer forcelegacyconfigimport Signed-off-by: Claudio Cambra --- diff --git a/src/gui/application.cpp b/src/gui/application.cpp index bb70d685f..0db5f96d1 100644 --- a/src/gui/application.cpp +++ b/src/gui/application.cpp @@ -77,28 +77,28 @@ namespace { static const char optionsC[] = "Options:\n" - " --help, -h : show this help screen.\n" - " --version, -v : show version information.\n" - " -q --quit : quit the running instance\n" - " --logwindow, -l : open a window to show log output.\n" - " --logfile : write log output to file .\n" - " --logdir : write each sync log output in a new file\n" - " in folder .\n" - " --logexpire : removes logs older than hours.\n" - " (to be used with --logdir)\n" - " --logflush : flush the log file after every write.\n" - " --logdebug : also output debug-level messages in the log.\n" - " --confdir : Use the given configuration folder.\n" - " --background : launch the application in the background.\n" - " --overrideserverurl : specify a server URL to use for the force override to be used in the account setup wizard.\n" - " --overridelocaldir : specify a local dir to be used in the account setup wizard.\n" - " --userid : userId (username as on the server) to pass when creating an account via command-line.\n" - " --apppassword : appPassword to pass when creating an account via command-line.\n" - " --localdirpath : (optional) path where to create a local sync folder when creating an account via command-line.\n" - " --isvfsenabled : whether to set a VFS or non-VFS folder (1 for 'yes' or 0 for 'no') when creating an account via command-line.\n" - " --remotedirpath : (optional) path to a remote subfolder when creating an account via command-line.\n" - " --serverurl : a server URL to use when creating an account via command-line.\n" - " --forcelegacyimport : forcefully import account configurations from legacy clients (if available).\n"; + " --help, -h : show this help screen.\n" + " --version, -v : show version information.\n" + " -q --quit : quit the running instance\n" + " --logwindow, -l : open a window to show log output.\n" + " --logfile : write log output to file .\n" + " --logdir : write each sync log output in a new file\n" + " in folder .\n" + " --logexpire : removes logs older than hours.\n" + " (to be used with --logdir)\n" + " --logflush : flush the log file after every write.\n" + " --logdebug : also output debug-level messages in the log.\n" + " --confdir : Use the given configuration folder.\n" + " --background : launch the application in the background.\n" + " --overrideserverurl : specify a server URL to use for the force override to be used in the account setup wizard.\n" + " --overridelocaldir : specify a local dir to be used in the account setup wizard.\n" + " --userid : userId (username as on the server) to pass when creating an account via command-line.\n" + " --apppassword : appPassword to pass when creating an account via command-line.\n" + " --localdirpath : (optional) path where to create a local sync folder when creating an account via command-line.\n" + " --isvfsenabled : whether to set a VFS or non-VFS folder (1 for 'yes' or 0 for 'no') when creating an account via command-line.\n" + " --remotedirpath : (optional) path to a remote subfolder when creating an account via command-line.\n" + " --serverurl : a server URL to use when creating an account via command-line.\n" + " --forcelegacyconfigimport : forcefully import account configurations from legacy clients (if available).\n"; QString applicationTrPath() { @@ -756,7 +756,7 @@ void Application::parseOptions(const QStringList &options) } else { showHint("Invalid URL passed to --overridelocaldir"); } - } else if (option == QStringLiteral("--forcelegacyimport")) { + } else if (option == QStringLiteral("--forcelegacyconfigimport")) { AccountManager::instance()->setForceLegacyImport(true); } else { QString errorMessage;