aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/exit.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc_src/exit.txt')
-rw-r--r--doc_src/exit.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc_src/exit.txt b/doc_src/exit.txt
index cdcf54d4..ae607a4c 100644
--- a/doc_src/exit.txt
+++ b/doc_src/exit.txt
@@ -1,11 +1,13 @@
\section exit exit - exit the shell
\subsection exit-synopsis Synopsis
-<tt>exit [STATUS]</tt>
+\fish{syn}
+exit [STATUS]
+\endfish
\subsection exit-description Description
-\c exit causes fish to exit. If <tt>STATUS</tt> is
+`exit` causes fish to exit. If `STATUS` is
supplied, it will be converted to an integer and used as the exit
code. Otherwise, the exit code will be that of the last command executed.