diff --git a/doc/manual-src/en/aria2c.rst b/doc/manual-src/en/aria2c.rst index 935bd571..1a5d1a3b 100644 --- a/doc/manual-src/en/aria2c.rst +++ b/doc/manual-src/en/aria2c.rst @@ -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 ----------- diff --git a/src/includes/aria2/aria2.h b/src/includes/aria2/aria2.h index 9aa76735..b4b432f1 100644 --- a/src/includes/aria2/aria2.h +++ b/src/includes/aria2/aria2.h @@ -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. */