summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRic Claus <claus@slac.stanford.edu>2012-11-30 15:50:40 -0800
committerSebastian Huber <sebastian.huber@embedded-brains.de>2012-12-01 09:03:46 +0100
commit821943860182efb82fe63d2f071a53412a49753c (patch)
treeff26499d93fcd0a67bee5a0fdfa92a4006f68c8a
parentUpdated mkdos options string. (diff)
downloadrtems-821943860182efb82fe63d2f071a53412a49753c.tar.bz2
Updated mount usage line.
The mount usage line didn't mention the '-o options' handled by the code, so I updated it.
-rw-r--r--cpukit/libmisc/shell/main_mount.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/libmisc/shell/main_mount.c b/cpukit/libmisc/shell/main_mount.c
index 1fe688fa55..27f417a689 100644
--- a/cpukit/libmisc/shell/main_mount.c
+++ b/cpukit/libmisc/shell/main_mount.c
@@ -51,7 +51,7 @@ static int rtems_shell_main_mount(
if (arg == argc) {
fprintf(
stderr,
- "%s: -t needs a type of file-system;; see -L.\n",
+ "%s: -t needs a type of file-system; see -L.\n",
argv[0]
);
return 1;
@@ -69,7 +69,7 @@ static int rtems_shell_main_mount(
if (arg == argc) {
fprintf(
stderr,
- "%s: -o needs a list if filesystem options.\n",
+ "%s: -o needs a list of filesystem options.\n",
argv[0]
);
return 1;
@@ -122,10 +122,10 @@ static int rtems_shell_main_mount(
}
rtems_shell_cmd_t rtems_shell_MOUNT_Command = {
- "mount", /* name */
- "mount [-t type] [-r] [-L] source target", /* usage */
- "files", /* topic */
- rtems_shell_main_mount, /* command */
- NULL, /* alias */
- NULL /* next */
+ "mount", /* name */
+ "mount [-t type] [-r] [-L] [-o options] source target", /* usage */
+ "files", /* topic */
+ rtems_shell_main_mount, /* command */
+ NULL, /* alias */
+ NULL /* next */
};