]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
mdmon: Add missing option documentation to --help output
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 25 Apr 2013 15:24:36 +0000 (17:24 +0200)
committerNeilBrown <neilb@suse.de>
Thu, 25 Apr 2013 22:45:05 +0000 (08:45 +1000)
Document that -a is equivalent to --all, as well as --foreground / -F

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
mdmon.c

diff --git a/mdmon.c b/mdmon.c
index fd136e50dad3ab443f5973e0a13ddb17035ff038..23cd7e2f2b521ae5b0cd13ad8b634dcbe999935a 100644 (file)
--- a/mdmon.c
+++ b/mdmon.c
@@ -271,7 +271,8 @@ void usage(void)
 "\n"
 "Options are:\n"
 "  --help        -h   : This message\n"
-"  --all              : All devices\n"
+"  --all         -a   : All devices\n"
+"  --foreground  -F   : Run in foreground (do not fork)\n"
 "  --takeover    -t   : Takeover container\n"
 );
        exit(2);