aboutsummaryrefslogtreecommitdiff
path: root/doc/usage/cmd/cls.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/usage/cmd/cls.rst')
-rw-r--r--doc/usage/cmd/cls.rst26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/usage/cmd/cls.rst b/doc/usage/cmd/cls.rst
new file mode 100644
index 0000000000..b5c43e0a2e
--- /dev/null
+++ b/doc/usage/cmd/cls.rst
@@ -0,0 +1,26 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+cls command
+===========
+
+Synopsis
+--------
+
+::
+
+ cls
+
+Description
+-----------
+
+The cls command clears the screen.
+
+Configuration
+-------------
+
+The cls command is only available if CONFIG_CMD_CLS=y.
+
+Return value
+------------
+
+The return value $? is 0 (true) on success and 1 (false) on failure.