* src/main.cc (main): Use StreamUriListParser and

FileUriListParser
	instead of UriFileListParser.
	(showUsage): Added 3 usage examples for metalink download.
pull/1/head
Tatsuhiro Tsujikawa 2007-07-08 02:33:46 +00:00
parent 94834d6735
commit 823056f0dd
2 changed files with 7 additions and 0 deletions

View File

@ -7,6 +7,7 @@
* src/FileUriListParser.h: New class.
* src/main.cc (main): Use StreamUriListParser and FileUriListParser
instead of UriFileListParser.
(showUsage): Added 3 usage examples for metalink download.
2007-07-04 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

View File

@ -310,6 +310,12 @@ void showUsage() {
cout << " aria2c -M test.metalink" << endl;
cout << _(" Metalink downloading with preferences:") << endl;
cout << " aria2c -M test.metalink --metalink-version=1.1.1 --metalink-language=en-US" << endl;
cout << _(" Download only selected files:") << endl;
cout << " aria2c -T test.metalink --metalink-language=en-US dir/file1.zip dir/file2.zip" << endl;
cout << _(" Download only selected files using index:") << endl;
cout << " aria2c -T test.metalink --metalink-language=en-US --select-file 1,3-5" << endl;
cout << _(" Print file listing of .metalink file:") << endl;
cout << " aria2c -T test.torrent -S --metalink-language=en-US" << endl;
#endif // ENABLE_METALINK
cout << endl;
printf(_("Report bugs to %s"), "<tujikawa at users dot sourceforge dot net>");