From 588ef22bc08ce020fd2d441b101b70793e11df57 Mon Sep 17 00:00:00 2001 From: Idan Geraffi Date: Wed, 21 Feb 2024 15:33:39 +0200 Subject: [PATCH] Beautify --- doc/manual-src/pt/aria2c.rst | 2 +- doc/manual-src/ru/aria2c.rst | 2 +- src/download_helper.cc | 2 +- src/version_usage.cc | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/manual-src/pt/aria2c.rst b/doc/manual-src/pt/aria2c.rst index 40516caa..a502f1e3 100644 --- a/doc/manual-src/pt/aria2c.rst +++ b/doc/manual-src/pt/aria2c.rst @@ -1482,7 +1482,7 @@ Algumas opções usam ``K`` e ``M`` para convenientemente representar transparente (maiúsculas e minúsculas), portanto podem ser usados `k`` ou ``K`` e ``m`` ou ``M``. -URI, MAGNET, TORRENT_FILE, METALINK_FILE, CONTROL_FILE +URI, MAGNET, TORRENT_FILE, METALINK_FILE, ARIA2_CONTROL_FILE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Podemos especificar múltiplas URIs em uma linha de comando. A menos que seja diff --git a/doc/manual-src/ru/aria2c.rst b/doc/manual-src/ru/aria2c.rst index 7a4c9d65..d0d2c53d 100644 --- a/doc/manual-src/ru/aria2c.rst +++ b/doc/manual-src/ru/aria2c.rst @@ -1836,7 +1836,7 @@ URI, и это не то, что обычно вы ожидаете. регистра. Другими словами, ``k`` и ``m`` могут быть использованы также как ``K`` и ``M`` соответственно. -URI, MAGNET-ССЫЛКА, TORRENT-ФАЙЛ, METALINK-ФАЙЛ +URI, MAGNET-ССЫЛКА, TORRENT-ФАЙЛ, METALINK-ФАЙЛ, ARIA2_CONTROL_FILE ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Вы можете перечислить несколько URI в командной строке. Пока вы не указали diff --git a/src/download_helper.cc b/src/download_helper.cc index 155b5284..41771c9c 100644 --- a/src/download_helper.cc +++ b/src/download_helper.cc @@ -64,12 +64,12 @@ #include "download_handlers.h" #include "SimpleRandomizer.h" #ifdef ENABLE_BITTORRENT +# include "bittorrent_helper.h" # include "BtConstants.h" # include "ValueBaseBencodeParser.h" #endif // ENABLE_BITTORRENT #ifdef ENABLE_CONTROL_FILE # include "TorrentAttribute.h" -# include "bittorrent_helper.h" # include "DefaultBtProgressInfoFile.h" #endif // ENABLE_CONTROL_FILE diff --git a/src/version_usage.cc b/src/version_usage.cc index d5590823..9bd70177 100644 --- a/src/version_usage.cc +++ b/src/version_usage.cc @@ -85,7 +85,7 @@ void showUsage(const std::string& keyword, const std::shared_ptr& oparser, const Console& out) { out->printf(_("Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE |" - " METALINK_FILE | CONTROL_FILE]...")); + " METALINK_FILE | ARIA2_CONTROL_FILE]...")); out->printf("\n"); if (keyword.empty()) { // Very short version of usage. @@ -139,7 +139,7 @@ void showUsage(const std::string& keyword, } } if (keyword == strHelpTag(TAG_BASIC)) { - out->printf("URI, MAGNET, TORRENT_FILE, METALINK_FILE, CONTROL_FILE:\n"); + out->printf("URI, MAGNET, TORRENT_FILE, METALINK_FILE, ARIA2_CONTROL_FILE:\n"); out->printf( _(" You can specify multiple HTTP(S)/FTP URIs. Unless you specify -Z " "option, all\n"