doc: document true command

Create a man-page for the true command.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
Heinrich Schuchardt 2021-01-22 19:25:53 +01:00
parent a3ad3079c0
commit 9d4445bc6d
2 changed files with 29 additions and 0 deletions

View File

@ -24,3 +24,4 @@ Shell commands
mbr
pstore
sbi
true

28
doc/usage/true.rst Normal file
View File

@ -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.