diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-12-10 12:32:47 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-12-10 12:32:47 +0000 |
| commit | ff100656993511cd1741bbed0f5e1f0d53902e3d (patch) | |
| tree | 3b890a94c0ef7e275e14df56f0f4b70f8adce243 /src/version_usage.cc | |
| parent | d95d6f2a69bfac72e9457d2c4a5cebcd666edbb0 (diff) | |
2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Refer Magnet URI in --help. Made some cosmetic changes.
* src/version_usage.cc
Diffstat (limited to 'src/version_usage.cc')
| -rw-r--r-- | src/version_usage.cc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/version_usage.cc b/src/version_usage.cc index 746cca59..98535a4c 100644 --- a/src/version_usage.cc +++ b/src/version_usage.cc @@ -82,7 +82,7 @@ void showVersion() { } void showUsage(const std::string& keyword, const OptionParser& oparser) { - std::cout << _("Usage: aria2c [OPTIONS] [URL | TORRENT_FILE |" + std::cout << _("Usage: aria2c [OPTIONS] [URI | MAGNET | TORRENT_FILE |" " METALINK_FILE]...") << "\n" << "\n"; if(util::startsWith(keyword, "#")) { @@ -124,22 +124,22 @@ void showUsage(const std::string& keyword, const OptionParser& oparser) { } if(keyword == TAG_BASIC) { - std::cout << "URL, TORRENT_FILE, METALINK_FILE:" << "\n" - << _(" You can specify multiple URLs. Unless you specify -Z option, all URLs must\n" - " point to the same file or downloading will fail.") << "\n" - << _(" You can also specify arbitrary number of torrent files and metalink files\n" - " stored in a local drive. Please note that they are always treated as a\n" - " separate download.") << "\n" + std::cout << "URI, MAGNET, TORRENT_FILE, METALINK_FILE:" << "\n" + << _(" You can specify multiple HTTP(S)/FTP URIs. Unless you specify -Z option, all\n" + " URIs must point to the same file or downloading will fail.") << "\n" + << _(" You can also specify arbitrary number of BitTorrent Magnet URIs, torrent/\n" + " metalink files stored in a local drive. Please note that they are always\n" + " treated as a separate download.") << "\n" << "\n" - << _(" You can specify both torrent file with -T option and URLs. By doing this,\n" - " download a file from both torrent swarm and http/ftp server at the same time,\n" - " while the data from http/ftp are uploaded to the torrent swarm. For single file\n" - " torrents, URL can be a complete URL pointing to the resource or if URL ends\n" + << _(" You can specify both torrent file with -T option and URIs. By doing this,\n" + " download a file from both torrent swarm and HTTP/FTP server at the same time,\n" + " while the data from HTTP/FTP are uploaded to the torrent swarm. For single file\n" + " torrents, URI can be a complete URI pointing to the resource or if URI ends\n" " with '/', 'name' in torrent file is added. For multi-file torrents, 'name' and\n" - " 'path' in torrent are added to form a URL for each file.") << "\n" + " 'path' in torrent are added to form a URI for each file.") << "\n" << "\n" - << _(" Make sure that URL is quoted with single(\') or double(\") quotation if it\n" + << _(" Make sure that URI is quoted with single(\') or double(\") quotation if it\n" " contains \"&\" or any characters that have special meaning in shell.") << "\n" << "\n"; } |
