mirror of https://github.com/aria2/aria2
				
				
				
			2008-05-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Changed the default value of -j option to 1. * src/HelpItemFactory.cc * src/option_processing.cc * src/usage_text.hpull/1/head
							parent
							
								
									f25436725e
								
							
						
					
					
						commit
						5bed29e79a
					
				| 
						 | 
				
			
			@ -1,3 +1,10 @@
 | 
			
		|||
2008-05-09  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 | 
			
		||||
 | 
			
		||||
	Changed the default value of -j option to 1.
 | 
			
		||||
	* src/HelpItemFactory.cc
 | 
			
		||||
	* src/option_processing.cc
 | 
			
		||||
	* src/usage_text.h
 | 
			
		||||
 | 
			
		||||
2008-05-09  Tatsuhiro Tsujikawa  <tujikawa at rednoah dot com>
 | 
			
		||||
 | 
			
		||||
	Added the ability to reuse connection in FTP and it is enabled by
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -266,8 +266,8 @@ TagContainerHandle HelpItemFactory::createHelpItems(const Option* op)
 | 
			
		|||
    tc->addItem(item);
 | 
			
		||||
  }
 | 
			
		||||
  {
 | 
			
		||||
    HelpItemHandle item(new HelpItem(PREF_MAX_CONCURRENT_DOWNLOADS, TEXT_MAX_CONCURRENT_DOWNLOADS));
 | 
			
		||||
    item->addTag(TAG_ADVANCED);
 | 
			
		||||
    HelpItemHandle item(new HelpItem(PREF_MAX_CONCURRENT_DOWNLOADS, TEXT_MAX_CONCURRENT_DOWNLOADS, op->get(PREF_MAX_CONCURRENT_DOWNLOADS)));
 | 
			
		||||
    item->addTag(TAG_BASIC);
 | 
			
		||||
    tc->addItem(item);
 | 
			
		||||
  }
 | 
			
		||||
  {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -123,7 +123,7 @@ Option* createDefaultOption()
 | 
			
		|||
  op->put(PREF_CONTINUE, V_FALSE);
 | 
			
		||||
  op->put(PREF_USER_AGENT, "aria2");
 | 
			
		||||
  op->put(PREF_NO_NETRC, V_FALSE);
 | 
			
		||||
  op->put(PREF_MAX_CONCURRENT_DOWNLOADS, "5");
 | 
			
		||||
  op->put(PREF_MAX_CONCURRENT_DOWNLOADS, "1");
 | 
			
		||||
  op->put(PREF_DIRECT_DOWNLOAD_TIMEOUT, "300");
 | 
			
		||||
  op->put(PREF_FORCE_SEQUENTIAL, V_FALSE);
 | 
			
		||||
  op->put(PREF_AUTO_FILE_RENAMING, V_TRUE);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -188,9 +188,7 @@ _(" -i, --input-file=FILE        Downloads URIs found in FILE. You can specify\n
 | 
			
		|||
  "                              URIs on a single line using the TAB character.\n"\
 | 
			
		||||
  "                              Reads input from stdin when '-' is specified.")
 | 
			
		||||
#define TEXT_MAX_CONCURRENT_DOWNLOADS \
 | 
			
		||||
_(" -j, --max-concurrent-downloads=N Set maximum number of concurrent downloads.\n"\
 | 
			
		||||
  "                              It should be used with the -i option.\n"\
 | 
			
		||||
  "                              Default: 5")
 | 
			
		||||
_(" -j, --max-concurrent-downloads=N Set maximum number of parallel downloads.")
 | 
			
		||||
#define TEXT_LOAD_COOKIES \
 | 
			
		||||
_(" --load-cookies=FILE          Load cookies from FILE. The format of FILE is\n"\
 | 
			
		||||
  "                              the same used by Netscape and Mozilla.")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue