diff options
Diffstat (limited to 'doc/usage/cmd/exit.rst')
-rw-r--r-- | doc/usage/cmd/exit.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/usage/cmd/exit.rst b/doc/usage/cmd/exit.rst index 769223c4775..3edb12809ce 100644 --- a/doc/usage/cmd/exit.rst +++ b/doc/usage/cmd/exit.rst @@ -37,4 +37,6 @@ executed. Return value ------------ -$? is always set to 0 (true). +$? is default set to 0 (true). In case zero or positive integer parameter +is passed to the command, the return value is the parameter value. In case +negative integer parameter is passed to the command, the return value is 0. |