summaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh_parse.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-07 01:52:30 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-07 01:52:30 +0000
commitce376ed9e145fe7b9c0215e93bfebf0893ecf7b3 (patch)
tree425cec7640f89663994f2a3646ca35e54db91df6 /apps/nshlib/nsh_parse.c
parent5332fb0e659549272ed5527c26964b22d31da3bc (diff)
downloadnuttx-ce376ed9e145fe7b9c0215e93bfebf0893ecf7b3.tar.gz
nuttx-ce376ed9e145fe7b9c0215e93bfebf0893ecf7b3.tar.bz2
nuttx-ce376ed9e145fe7b9c0215e93bfebf0893ecf7b3.zip
More LPC1788 changes from Rommel Marcelo + a few kernel build fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5715 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/nshlib/nsh_parse.c')
-rw-r--r--apps/nshlib/nsh_parse.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/nshlib/nsh_parse.c b/apps/nshlib/nsh_parse.c
index 4ee86b4cc..d5ffd81ee 100644
--- a/apps/nshlib/nsh_parse.c
+++ b/apps/nshlib/nsh_parse.c
@@ -302,7 +302,11 @@ 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
+# ifdef CONFIG_NUTTX_KERNEL
+ { "mount", cmd_mount, 5, 5, "-t <fstype> [<block-device>] <mount-point>" },
+# else
{ "mount", cmd_mount, 1, 5, "[-t <fstype> [<block-device>] <mount-point>]" },
+# endif
# endif
#endif