mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 06:13:36 -07:00
Updates help output for Windows systems
This commit is contained in:
parent
13f9c20a69
commit
0da351bac7
1 changed files with 4 additions and 0 deletions
|
@ -542,7 +542,11 @@ QString makeUsage(const QString &prgName)
|
||||||
"'parameter-name', environment variable name is 'QBT_PARAMETER_NAME' (in upper "
|
"'parameter-name', environment variable name is 'QBT_PARAMETER_NAME' (in upper "
|
||||||
"case, '-' replaced with '_'). To pass flag values, set the variable to '1' or "
|
"case, '-' replaced with '_'). To pass flag values, set the variable to '1' or "
|
||||||
"'TRUE'. For example, to disable the splash screen: "), 0) + u'\n'
|
"'TRUE'. For example, to disable the splash screen: "), 0) + u'\n'
|
||||||
|
#if defined(Q_OS_WIN)
|
||||||
|
+ u"set QBT_NO_SPLASH=1\n" + prgName + u'\n'
|
||||||
|
#else
|
||||||
+ u"QBT_NO_SPLASH=1 " + prgName + u'\n'
|
+ u"QBT_NO_SPLASH=1 " + prgName + u'\n'
|
||||||
|
#endif
|
||||||
+ wrapText(QCoreApplication::translate("CMD Options", "Command line parameters take precedence over environment variables"), 0) + u'\n';
|
+ wrapText(QCoreApplication::translate("CMD Options", "Command line parameters take precedence over environment variables"), 0) + u'\n';
|
||||||
|
|
||||||
return text;
|
return text;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue