mirror of https://github.com/aria2/aria2
				
				
				
			2009-02-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Print tags, possible values when OptionHandlerException is caught. * src/option_processing.ccpull/1/head
							parent
							
								
									d71f434f61
								
							
						
					
					
						commit
						9dd04b7aaa
					
				| 
						 | 
				
			
			@ -1,3 +1,8 @@
 | 
			
		|||
2009-02-07  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 | 
			
		||||
 | 
			
		||||
	Print tags, possible values when OptionHandlerException is caught.
 | 
			
		||||
	* src/option_processing.cc
 | 
			
		||||
	
 | 
			
		||||
2009-02-07  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 | 
			
		||||
 | 
			
		||||
	Changed the message for FatalException.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -164,7 +164,7 @@ void option_processing(Option& op, std::deque<std::string>& uris,
 | 
			
		|||
  } catch(OptionHandlerException& e) {
 | 
			
		||||
    std::cerr << e.stackTrace() << "\n"
 | 
			
		||||
	      << "Usage:" << "\n"
 | 
			
		||||
	      << oparser.findByName(e.getOptionName())->getDescription()
 | 
			
		||||
	      << oparser.findByName(e.getOptionName())
 | 
			
		||||
	      << std::endl;
 | 
			
		||||
    exit(DownloadResult::UNKNOWN_ERROR);
 | 
			
		||||
  } catch(Exception& e) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue