mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-28 06:03:34 +08:00
Extend the NSH mount command so that it will enumerate mountpoints if no arguments are provided
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5006 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user