poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 07/12] Document the argument to .exit


From: John Darrington
Subject: [PATCH 07/12] Document the argument to .exit
Date: Mon, 2 Dec 2019 17:51:08 +0100

---
 doc/poke.texi | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/doc/poke.texi b/doc/poke.texi
index 3bf4ddd..28e464e 100644
--- a/doc/poke.texi
+++ b/doc/poke.texi
@@ -643,7 +643,15 @@ whatever architecture running poke.
 @cindex @code{.exit}
 @cindex quitting
 @cindex @code{exit}
-The @code{.exit} command exits poke.
+The @code{.exit} command exits poke.  The syntax is:
+
+@example
+.exit [@var{status}]
+@end example
+
+@noindent
+Poke will terminate, returning the exit status @var{status}.
+If @var{status} is omitted, then the exit status zero will be returned.
 
 @node dump
 @chapter @command{dump}
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]