diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-03 23:47:32 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-08-03 23:47:32 +0000 |
commit | a98c9af060ce31895336fd3170e5efc961f1b298 (patch) | |
tree | e591f268857f6ec0f27b064bdb0b438ae8515a29 /apps/nshlib/nsh_parse.c | |
parent | 16d6e830b07e83e2e791c7d7bc6c712af28541e1 (diff) | |
download | nuttx-a98c9af060ce31895336fd3170e5efc961f1b298.tar.gz nuttx-a98c9af060ce31895336fd3170e5efc961f1b298.tar.bz2 nuttx-a98c9af060ce31895336fd3170e5efc961f1b298.zip |
Extend the NSH mount command so that it will enumerate mountpoints if no arguments are provided
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5006 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib/nsh_parse.c')
-rw-r--r-- | apps/nshlib/nsh_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/nshlib/nsh_parse.c b/apps/nshlib/nsh_parse.c index 4c4300cc6..d62f6b5a9 100644 --- a/apps/nshlib/nsh_parse.c +++ b/apps/nshlib/nsh_parse.c @@ -259,7 +259,7 @@ static const struct cmdmap_s g_cmdmap[] = #if !defined(CONFIG_DISABLE_MOUNTPOINT) && CONFIG_NFILE_DESCRIPTORS > 0 && defined(CONFIG_FS_READABLE) # ifndef CONFIG_NSH_DISABLE_MOUNT - { "mount", cmd_mount, 4, 5, "-t <fstype> <block-device> <mount-point>" }, + { "mount", cmd_mount, 1, 5, "[-t <fstype> <block-device> <mount-point>]" }, # endif #endif |