[Docs] Added control file option to docs

pull/2179/head
Idan Geraffi 2024-02-18 16:41:26 +02:00
parent 07676f7f9c
commit 3644f077ad
3 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ aria2c(1)
SYNOPSIS SYNOPSIS
-------- --------
**aria2c** [<OPTIONS>] [<URI>|<MAGNET>|<TORRENT_FILE>|<METALINK_FILE>] ... **aria2c** [<OPTIONS>] [<URI>|<MAGNET>|<TORRENT_FILE>|<METALINK_FILE>|<CONTROL_FILE>] ...
DESCRIPTION DESCRIPTION
----------- -----------
@ -1736,7 +1736,7 @@ Some options takes ``K`` and ``M`` to conveniently represent 1024 and
case-insensitive way. In other words, ``k`` and ``m`` can be used as case-insensitive way. In other words, ``k`` and ``m`` can be used as
well as ``K`` and ``M`` respectively. well as ``K`` and ``M`` respectively.
URI, MAGNET, TORRENT_FILE, METALINK_FILE URI, MAGNET, TORRENT_FILE, METALINK_FILE, CONTROL_FILE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can specify multiple URIs in command-line. Unless you specify You can specify multiple URIs in command-line. Unless you specify

View File

@ -1482,7 +1482,7 @@ Algumas opções usam ``K`` e ``M`` para convenientemente representar
transparente (maiúsculas e minúsculas), portanto podem ser usados transparente (maiúsculas e minúsculas), portanto podem ser usados
`k`` ou ``K`` e ``m`` ou ``M``. `k`` ou ``K`` e ``m`` ou ``M``.
URI, MAGNET, TORRENT_FILE, METALINK_FILE URI, MAGNET, TORRENT_FILE, METALINK_FILE, CONTROL_FILE
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Podemos especificar múltiplas URIs em uma linha de comando. A menos que seja Podemos especificar múltiplas URIs em uma linha de comando. A menos que seja

View File

@ -85,7 +85,7 @@ void showUsage(const std::string& keyword,
const std::shared_ptr<OptionParser>& oparser, const Console& out) const std::shared_ptr<OptionParser>& oparser, const Console& out)
{ {
out->printf(_("Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE |" out->printf(_("Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE |"
" METALINK_FILE]...")); " METALINK_FILE | CONTROL_FILE]..."));
out->printf("\n"); out->printf("\n");
if (keyword.empty()) { if (keyword.empty()) {
// Very short version of usage. // Very short version of usage.
@ -139,7 +139,7 @@ void showUsage(const std::string& keyword,
} }
} }
if (keyword == strHelpTag(TAG_BASIC)) { if (keyword == strHelpTag(TAG_BASIC)) {
out->printf("URI, MAGNET, TORRENT_FILE, METALINK_FILE:\n"); out->printf("URI, MAGNET, TORRENT_FILE, METALINK_FILE, CONTROL_FILE:\n");
out->printf( out->printf(
_(" You can specify multiple HTTP(S)/FTP URIs. Unless you specify -Z " _(" You can specify multiple HTTP(S)/FTP URIs. Unless you specify -Z "
"option, all\n" "option, all\n"