From d282bc462578a6e47747c78d2d42883530f0d11e Mon Sep 17 00:00:00 2001 From: Mark Griffiths Date: Fri, 1 Aug 2014 03:37:32 +0100 Subject: 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. --- doc_src/not.txt | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'doc_src/not.txt') 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 -not COMMAND [OPTIONS...] +\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. -
+\fish
 if not test -f spoon
-	echo There is no spoon
-	exit 1
+    echo There is no spoon
+    exit 1
 end
-
+\endfish -- cgit v1.2.3