1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-22 20:44:15 +00:00

display, URLs, esc '

This commit is contained in:
Allan Nordhøy 2017-07-28 02:42:35 +02:00 committed by GitHub
parent dcba10f01b
commit af9c0cca23

View File

@ -523,7 +523,7 @@ QString makeUsage(const QString &prgName)
stream << QObject::tr("Options:") << '\n'; stream << QObject::tr("Options:") << '\n';
#ifndef Q_OS_WIN #ifndef Q_OS_WIN
stream << SHOW_VERSION_OPTION.usage() << wrapText(QObject::tr("Displays program version and exit")) << '\n'; stream << SHOW_VERSION_OPTION.usage() << wrapText(QObject::tr("Display program version and exit")) << '\n';
#endif #endif
stream << SHOW_HELP_OPTION.usage() << wrapText(QObject::tr("Displays this help message and exit")) << '\n'; stream << SHOW_HELP_OPTION.usage() << wrapText(QObject::tr("Displays this help message and exit")) << '\n';
stream << WEBUI_PORT_OPTION.usage(QObject::tr("port")) stream << WEBUI_PORT_OPTION.usage(QObject::tr("port"))
@ -544,7 +544,7 @@ QString makeUsage(const QString &prgName)
"to the profile directory")) << '\n'; "to the profile directory")) << '\n';
stream << PORTABLE_OPTION.usage() stream << PORTABLE_OPTION.usage()
<< wrapText(QObject::tr("Shortcut for --profile=<exe dir>/profile --relative-fastresume")) << '\n'; << wrapText(QObject::tr("Shortcut for --profile=<exe dir>/profile --relative-fastresume")) << '\n';
stream << Option::padUsageText(QObject::tr("files or urls")) stream << Option::padUsageText(QObject::tr("files or URLs"))
<< wrapText(QObject::tr("Downloads the torrents passed by the user")) << '\n' << wrapText(QObject::tr("Downloads the torrents passed by the user")) << '\n'
<< '\n'; << '\n';
@ -553,7 +553,7 @@ QString makeUsage(const QString &prgName)
stream << PAUSED_OPTION.usage() << wrapText(QObject::tr("Add torrents as started or paused")) << '\n'; stream << PAUSED_OPTION.usage() << wrapText(QObject::tr("Add torrents as started or paused")) << '\n';
stream << SKIP_HASH_CHECK_OPTION.usage() << wrapText(QObject::tr("Skip hash check")) << '\n'; stream << SKIP_HASH_CHECK_OPTION.usage() << wrapText(QObject::tr("Skip hash check")) << '\n';
stream << CATEGORY_OPTION.usage(QObject::tr("name")) stream << CATEGORY_OPTION.usage(QObject::tr("name"))
<< wrapText(QObject::tr("Assign torrents to category. If the category doesn't exist, it will be " << wrapText(QObject::tr("Assign torrents to category. If the category doesn\'t exist, it will be "
"created.")) << '\n'; "created.")) << '\n';
stream << SEQUENTIAL_OPTION.usage() << wrapText(QObject::tr("Download files in sequential order")) << '\n'; stream << SEQUENTIAL_OPTION.usage() << wrapText(QObject::tr("Download files in sequential order")) << '\n';
stream << FIRST_AND_LAST_OPTION.usage() stream << FIRST_AND_LAST_OPTION.usage()