This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 0a23fe3bd691a9edff9a7877447137d5ce855675
Author: Junbo Zheng <zhengjun...@xiaomi.com>
AuthorDate: Mon Jan 29 19:00:04 2024 +0800

    Documentation: add `-h` option description for ls command
    
    Reference: https://github.com/apache/nuttx-apps/pull/1821
    
    Signed-off-by: Junbo Zheng <zhengjun...@xiaomi.com>
---
 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 674ab22868..7c2a3b0cef 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] <dir-path>
+  ls [-lRsh] <dir-path>
 
 **Synopsis**. Show the contents of the directory at
 ``<dir-path>``. NOTE: ``<dir-path>`` 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.
-

Reply via email to