mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-20 04:26:04 +08:00
cmd_mkdir:support mkdir opthon -p
use "mkdir -p /test/test" to ceate a dir Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
@@ -312,7 +312,7 @@ static const struct cmdmap_s g_cmdmap[] =
|
||||
|
||||
#ifdef NSH_HAVE_DIROPTS
|
||||
# ifndef CONFIG_NSH_DISABLE_MKDIR
|
||||
{ "mkdir", cmd_mkdir, 2, 2, "<path>" },
|
||||
{ "mkdir", cmd_mkdir, 2, 3, "[-p] <path>" },
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user