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 <zhengjunbo1@xiaomi.com>
This commit is contained in:
parent
60fa280715
commit
149d648129
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user