mirror of https://github.com/aria2/aria2
				
				
				
			Add reference marker to EXIT STATUS section
							parent
							
								
									8b7bac60ec
								
							
						
					
					
						commit
						93db904e48
					
				| 
						 | 
				
			
			@ -1500,6 +1500,7 @@ Let's see an example of how arguments are passed to command:
 | 
			
		|||
  $ aria2c --on-download-complete hook.sh http://example.org/file.iso
 | 
			
		||||
  Called with [1] [1] [/path/to/file.iso]
 | 
			
		||||
 | 
			
		||||
.. _exit-status:
 | 
			
		||||
 | 
			
		||||
EXIT STATUS
 | 
			
		||||
-----------
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -213,7 +213,7 @@ Session* sessionNew(const KeyVals& options, const SessionConfig& config);
 | 
			
		|||
 * Performs post-download action, including saving sessions etc and
 | 
			
		||||
 * destroys the |session| object, releasing the allocated resources
 | 
			
		||||
 * for it. This function returns the last error code and it is the
 | 
			
		||||
 * equivalent to the exit status of :manpage:`aria2c(1)`.
 | 
			
		||||
 * equivalent to the :ref:`exit-status` of :manpage:`aria2c(1)`.
 | 
			
		||||
 */
 | 
			
		||||
int sessionFinal(Session* session);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -802,7 +802,7 @@ public:
 | 
			
		|||
  virtual int getConnections() = 0;
 | 
			
		||||
  /**
 | 
			
		||||
   * Returns the last error code occurred in this download. The error
 | 
			
		||||
   * codes are defined in EXIT STATUS section of
 | 
			
		||||
   * codes are defined in :ref:`exit-status` section of
 | 
			
		||||
   * :manpage:`aria2c(1)`. This value has its meaning only for
 | 
			
		||||
   * stopped/completed downloads.
 | 
			
		||||
   */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue