2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Updated command-line usage text, so that it tells users that 
they
	can specify any number of torrent files and metalink files in
	command-line.
	* src/version_usage.cc
pull/1/head
Tatsuhiro Tsujikawa 2008-05-09 15:30:09 +00:00
parent 5bed29e79a
commit 7956dab9c3
2 changed files with 14 additions and 8 deletions

View File

@ -1,3 +1,10 @@
2008-05-10 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Updated command-line usage text, so that it tells users that they
can specify any number of torrent files and metalink files in
command-line.
* src/version_usage.cc
2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Changed the default value of -j option to 1.

View File

@ -74,13 +74,7 @@ void showVersion() {
}
void showUsage(const std::string& category, const Option* option) {
std::cout << StringFormat(_("Usage: %s [options] URL ...\n"), PACKAGE_NAME)
#ifdef ENABLE_BITTORRENT
<< StringFormat(_(" %s [options] -T TORRENT_FILE URL ...\n"), PACKAGE_NAME)
#endif // ENABLE_BITTORRENT
#ifdef ENABLE_METALINK
<< StringFormat(_(" %s [options] -M METALINK_FILE\n"), PACKAGE_NAME)
#endif // ENABLE_METALINK
std::cout << StringFormat(_("Usage: %s [options] URL|TORRENT_FILE|METALINK_FILE ...\n"), PACKAGE_NAME)
<< "\n";
SharedHandle<TagContainer> tc = HelpItemFactory::createHelpItems(option);
@ -116,9 +110,14 @@ void showUsage(const std::string& category, const Option* option) {
}
if(category == TAG_BASIC) {
std::cout << "\n"
<< "URL:" << "\n"
<< "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"
<< "\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. Note that\n"