mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-02 07:53:43 +08:00
2a98b7a593
man(1) uses lowercase placeholders but we usually don't. Additionally, the new synopsis autoformatting only recognizes placeholders if they are uppercase. Use uppercase for all placeholders.
21 lines
510 B
ReStructuredText
21 lines
510 B
ReStructuredText
.. _cmd-exit:
|
|
.. program::exit
|
|
|
|
exit - exit the shell
|
|
=====================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
.. synopsis::
|
|
|
|
exit [CODE]
|
|
|
|
Description
|
|
-----------
|
|
|
|
**exit** is a special builtin that causes the shell to exit. Either 255 or the *CODE* supplied is used, whichever is lesser.
|
|
Otherwise, the exit status will be that of the last command executed.
|
|
|
|
If exit is called while sourcing a file (using the :ref:`source <cmd-source>` builtin) the rest of the file will be skipped, but the shell itself will not exit.
|