diff mbox series

[v2,2/2] ReadMe: fix command-line help

Message ID 20220909135034.14397-3-mariusz.tkaczyk@linux.intel.com (mailing list archive)
State Mainlined, archived
Delegated to: Coly Li
Headers show
Series Small fixes from Debian | expand

Commit Message

Mariusz Tkaczyk Sept. 9, 2022, 1:50 p.m. UTC
Make command-line help consistent with manual page.
Copied from Debian.

Cc: Felix Lechner <felix.lechner@lease-up.com>
Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>
---
 ReadMe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Coly Li Sept. 16, 2022, 3:04 p.m. UTC | #1
> 2022年9月9日 21:50,Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com> 写道:
> 
> Make command-line help consistent with manual page.
> Copied from Debian.
> 
> Cc: Felix Lechner <felix.lechner@lease-up.com>
> Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>

Acked-by: Coly Li <colyli@suse.de>

Thanks.

Coly Li


> ---
> ReadMe.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/ReadMe.c b/ReadMe.c
> index 7f94847..50a5e36 100644
> --- a/ReadMe.c
> +++ b/ReadMe.c
> @@ -477,7 +477,7 @@ char Help_assemble[] =
> ;
> 
> char Help_manage[] =
> -"Usage: mdadm arraydevice options component devices...\n"
> +"Usage: mdadm [mode] arraydevice [options] <component devices...>\n"
> "\n"
> "This usage is for managing the component devices within an array.\n"
> "The --manage option is not needed and is assumed if the first argument\n"
> -- 
> 2.26.2
>
diff mbox series

Patch

diff --git a/ReadMe.c b/ReadMe.c
index 7f94847..50a5e36 100644
--- a/ReadMe.c
+++ b/ReadMe.c
@@ -477,7 +477,7 @@  char Help_assemble[] =
 ;
 
 char Help_manage[] =
-"Usage: mdadm arraydevice options component devices...\n"
+"Usage: mdadm [mode] arraydevice [options] <component devices...>\n"
 "\n"
 "This usage is for managing the component devices within an array.\n"
 "The --manage option is not needed and is assumed if the first argument\n"