From 0a23fe3bd691a9edff9a7877447137d5ce855675 Mon Sep 17 00:00:00 2001 From: Junbo Zheng Date: Mon, 29 Jan 2024 19:00:04 +0800 Subject: [PATCH] Documentation: add `-h` option description for ls command Reference: https://github.com/apache/nuttx-apps/pull/1821 Signed-off-by: Junbo Zheng --- Documentation/applications/nsh/commands.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/applications/nsh/commands.rst b/Documentation/applications/nsh/commands.rst index 674ab228689..7c2a3b0cef3 100644 --- a/Documentation/applications/nsh/commands.rst +++ b/Documentation/applications/nsh/commands.rst @@ -876,7 +876,7 @@ implementation is simplified for use with NuttX in these ways: **Command Syntax**:: - ls [-lRs] + ls [-lRsh] **Synopsis**. Show the contents of the directory at ````. NOTE: ```` must refer to a directory and @@ -888,6 +888,7 @@ no other file system object. ``-R`` Show the contents of specified directory and all of its sub-directories. ``-s`` Show the size of the files along with the filenames in the listing ``-l`` Show size and mode information along with the filenames in the listing. +``-h`` Show size and mode information along with the filenames in the listing with humanable. ====== ================================ .. _cmdlsmod: @@ -1898,4 +1899,3 @@ Example:: nsh> ``ping6`` differs from ``ping`` in that it uses IPv6 addressing. -