diff options
Diffstat (limited to 'doc/usage/cmd/true.rst')
-rw-r--r-- | doc/usage/cmd/true.rst | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/usage/cmd/true.rst b/doc/usage/cmd/true.rst new file mode 100644 index 00000000000..adf641386b5 --- /dev/null +++ b/doc/usage/cmd/true.rst @@ -0,0 +1,31 @@ +.. index:: + single: true (command) + +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. |