[PATCH] Updated mount usage line.

Ric Claus claus at slac.stanford.edu
Fri Nov 30 23:50:40 UTC 2012


The mount usage line didn't mention the '-o options' handled by the code, so I
updated it.
---
 cpukit/libmisc/shell/main_mount.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/cpukit/libmisc/shell/main_mount.c b/cpukit/libmisc/shell/main_mount.c
index 1fe688f..27f417a 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 */
 };
-- 
1.7.1




More information about the devel mailing list