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