[PATCH 02/15] Added -o to mount command usage statement

Claus, Ric claus at slac.stanford.edu
Tue Nov 27 18:16:54 UTC 2012


Right, on both counts.

Ric

________________________________________
From: gedare at gwmail.gwu.edu [gedare at gwmail.gwu.edu] On Behalf Of Gedare Bloom [gedare at rtems.org]
Sent: Tuesday, November 27, 2012 6:25 AM
To: Claus, Ric
Cc: rtems-devel at rtems.org
Subject: Re: [PATCH 02/15] Added -o to mount command usage statement

This (and 3,4) seem separate from the submission of the virtex4/ppc changes.

Other than the spurious whitespace changes, this looks straightforward
to me. I suppose the -o already is supported, just not shown in usage
message?
-Gedare

On Mon, Nov 26, 2012 at 10:26 PM, Ric Claus <claus at slac.stanford.edu> wrote:
> ---
>  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
>
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel




More information about the devel mailing list