diff --git a/nshlib/nsh_command.c b/nshlib/nsh_command.c index 6c8115259..632ccd302 100644 --- a/nshlib/nsh_command.c +++ b/nshlib/nsh_command.c @@ -326,9 +326,9 @@ static const struct cmdmap_s g_cmdmap[] = defined(CONFIG_FS_SMARTFS) && defined(CONFIG_FSUTILS_MKSMARTFS) # ifndef CONFIG_NSH_DISABLE_MKSMARTFS # ifdef CONFIG_SMARTFS_MULTI_ROOT_DIRS - { "mksmartfs", cmd_mksmartfs, 2, 5, "[-s sector-size] []" }, + { "mksmartfs", cmd_mksmartfs, 2, 6, "[-s ] [-f] []" }, # else - { "mksmartfs", cmd_mksmartfs, 2, 4, "[-s sector-size] " }, + { "mksmartfs", cmd_mksmartfs, 2, 5, "[-s ] [-f] " }, # endif # endif #endif