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 149d6481295daf4e92c84a1f50cd5598ee96e464
Author: Junbo Zheng <zhengjun...@xiaomi.com>
AuthorDate: Mon Jan 29 19:37:54 2024 +0800

    Documentation: add `-u` and `+%format` description for date command
    
    Reference:
    - https://github.com/apache/nuttx-apps/pull/745
    - https://github.com/apache/nuttx-apps/pull/2273
    
    Signed-off-by: Junbo Zheng <zhengjun...@xiaomi.com>
---
 Documentation/applications/nsh/commands.rst | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/applications/nsh/commands.rst 
b/Documentation/applications/nsh/commands.rst
index 834daf8e8f..aee407611c 100644
--- a/Documentation/applications/nsh/commands.rst
+++ b/Documentation/applications/nsh/commands.rst
@@ -231,9 +231,10 @@ indication only if the files differ.
 
 **Command Syntax**::
 
-  date [-s "MMM DD HH:MM:SS YYYY"]
+  date [-s "MMM DD HH:MM:SS YYYY"] [-u] [+%format]
 
-**Synopsis**. Show or set the current date and time.
+**Synopsis**. Show or set the current date and time or UTC with ``-u`` option,
+and support format output with ``+%format``.
 
 To show the current system time and date, type in the ``date`` command.
 The output displays the day of the week, day of the month, month, year,

Reply via email to