[rtems commit] Updated mount usage line.
Sebastian Huber
sebh at rtems.org
Sat Dec 1 08:07:14 UTC 2012
Module: rtems
Branch: master
Commit: 821943860182efb82fe63d2f071a53412a49753c
Changeset: http://git.rtems.org/rtems/commit/?id=821943860182efb82fe63d2f071a53412a49753c
Author: Ric Claus <claus at slac.stanford.edu>
Date: Fri Nov 30 15:50:40 2012 -0800
Updated mount usage line.
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 */
};
More information about the vc
mailing list