aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/not.txt
diff options
context:
space:
mode:
authorGravatar Mark Griffiths <mark@thebespokepixel.com>2014-08-01 03:37:32 +0100
committerGravatar Mark Griffiths <mark@thebespokepixel.com>2014-09-03 14:43:24 +0100
commitd282bc462578a6e47747c78d2d42883530f0d11e (patch)
treea6515e908d4fc1c400cb6cebaf79b1590b005804 /doc_src/not.txt
parent1c4223889bd729ee83aa21a3450dc28f92ade641 (diff)
Documentation update
Rework for Doxygen >1.8. Moved large parts of the documentation to a simplified format, making use of Markdown enhancements and fixing bad long options.
Diffstat (limited to 'doc_src/not.txt')
-rw-r--r--doc_src/not.txt16
1 files changed, 9 insertions, 7 deletions
diff --git a/doc_src/not.txt b/doc_src/not.txt
index a1a1d206..746de9ba 100644
--- a/doc_src/not.txt
+++ b/doc_src/not.txt
@@ -1,21 +1,23 @@
\section not not - negate the exit status of a job
\subsection not-synopsis Synopsis
-<tt>not COMMAND [OPTIONS...]</tt>
+\fish{syn}
+not COMMAND [OPTIONS...]
+\endfish
\subsection not-description Description
-\c not negates the exit status of another command. If the exit status
-is zero, \c not returns 1. Otherwise, \c not returns 0.
+`not` negates the exit status of another command. If the exit status
+is zero, `not` returns 1. Otherwise, `not` returns 0.
\subsection not-example Example
The following code reports an error and exits if no file named spoon can be found.
-<pre>
+\fish
if not test -f spoon
- echo There is no spoon
- exit 1
+ echo There is no spoon
+ exit 1
end
-</pre>
+\endfish