summaryrefslogtreecommitdiff
path: root/doc/usage/false.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/usage/false.rst')
-rw-r--r--doc/usage/false.rst28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/usage/false.rst b/doc/usage/false.rst
new file mode 100644
index 0000000000..a17fe86021
--- /dev/null
+++ b/doc/usage/false.rst
@@ -0,0 +1,28 @@
+false command
+=============
+
+Synopsis
+--------
+
+::
+
+ false
+
+Description
+-----------
+
+The false command sets the return value $? to 1 (false).
+
+Example
+-------
+
+::
+
+ => false; echo $?
+ 1
+ =>
+
+Configuration
+-------------
+
+The false command is only available if CONFIG_HUSH_PARSER=y.