mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
apps/nshlib: correct commands with alphabet order in kconfig
Signed-off-by: Junbo Zheng <zhengjunbo1@xiaomi.com>
This commit is contained in:
@@ -154,11 +154,6 @@ static const struct cmdmap_s g_cmdmap[] =
|
||||
{ "dirname", cmd_dirname, 2, 2, "<path>" },
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_NSH_DISABLE_TIMEDATECTL
|
||||
{ "timedatectl", cmd_timedatectl, 1, 3, "[set-timezone TZ]"
|
||||
},
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_NSH_DISABLE_DATE
|
||||
{ "date", cmd_date, 1, 4, "[-s \"MMM DD HH:MM:SS YYYY\"] [-u]" },
|
||||
#endif
|
||||
@@ -537,6 +532,10 @@ static const struct cmdmap_s g_cmdmap[] =
|
||||
{ "time", cmd_time, 2, 2, "\"<command>\"" },
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_NSH_DISABLE_TIMEDATECTL
|
||||
{ "timedatectl", cmd_timedatectl, 1, 3, "[set-timezone TZ]" },
|
||||
#endif
|
||||
|
||||
#ifndef CONFIG_NSH_DISABLESCRIPT
|
||||
{ "true", cmd_true, 1, 1, NULL },
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user