forked from Imagelibrary/rtems
Updated mount usage line.
The mount usage line didn't mention the '-o options' handled by the code, so I updated it.
This commit is contained in:
committed by
Sebastian Huber
parent
fcfef0eeda
commit
8219438601
@@ -51,7 +51,7 @@ static int rtems_shell_main_mount(
|
|||||||
if (arg == argc) {
|
if (arg == argc) {
|
||||||
fprintf(
|
fprintf(
|
||||||
stderr,
|
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]
|
argv[0]
|
||||||
);
|
);
|
||||||
return 1;
|
return 1;
|
||||||
@@ -69,7 +69,7 @@ static int rtems_shell_main_mount(
|
|||||||
if (arg == argc) {
|
if (arg == argc) {
|
||||||
fprintf(
|
fprintf(
|
||||||
stderr,
|
stderr,
|
||||||
"%s: -o needs a list if filesystem options.\n",
|
"%s: -o needs a list of filesystem options.\n",
|
||||||
argv[0]
|
argv[0]
|
||||||
);
|
);
|
||||||
return 1;
|
return 1;
|
||||||
@@ -122,10 +122,10 @@ static int rtems_shell_main_mount(
|
|||||||
}
|
}
|
||||||
|
|
||||||
rtems_shell_cmd_t rtems_shell_MOUNT_Command = {
|
rtems_shell_cmd_t rtems_shell_MOUNT_Command = {
|
||||||
"mount", /* name */
|
"mount", /* name */
|
||||||
"mount [-t type] [-r] [-L] source target", /* usage */
|
"mount [-t type] [-r] [-L] [-o options] source target", /* usage */
|
||||||
"files", /* topic */
|
"files", /* topic */
|
||||||
rtems_shell_main_mount, /* command */
|
rtems_shell_main_mount, /* command */
|
||||||
NULL, /* alias */
|
NULL, /* alias */
|
||||||
NULL /* next */
|
NULL /* next */
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user