2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Refer Magnet URI in --help. Made some cosmetic changes.
	* src/version_usage.cc
pull/1/head
Tatsuhiro Tsujikawa 2009-12-10 12:32:47 +00:00
parent d95d6f2a69
commit ff10065699
2 changed files with 18 additions and 13 deletions

View File

@ -1,3 +1,8 @@
2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Refer Magnet URI in --help. Made some cosmetic changes.
* src/version_usage.cc
2009-12-10 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Updated -T and -M option.

View File

@ -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";
}