From 866f509fb934a62ab2bc736214ee14636b8fb051 Mon Sep 17 00:00:00 2001 From: Albert Pauw Date: Sun, 27 Feb 2011 15:56:54 +1100 Subject: [PATCH] FIX: ReadMe.c -Y option missing in short_options Hi Neil, I noticed that the -Y option, as in mdadm -D -Y /dev/md0, doesn't work but used as --export it works. So I made a little patch to fix it, but it is simply sticking a Y in the list of short_options in ReadMe.c. Signed-off-by: NeilBrown --- ReadMe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ReadMe.c b/ReadMe.c index b97c55e7..e1f8c686 100644 --- a/ReadMe.c +++ b/ReadMe.c @@ -86,11 +86,11 @@ char Version[] = Name " - v3.1.4 - 31st August 2010\n"; * At the time if writing, there is only minimal support. */ -char short_options[]="-ABCDEFGIQhVXWZ:vqbc:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye:"; +char short_options[]="-ABCDEFGIQhVXYWZ:vqbc:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye:"; char short_bitmap_options[]= - "-ABCDEFGIQhVXWZ:vqb:c:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye:"; + "-ABCDEFGIQhVXYWZ:vqb:c:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye:"; char short_bitmap_auto_options[]= - "-ABCDEFGIQhVXWZ:vqb:c:i:l:p:m:n:x:u:c:d:z:U:N:sa:rfRSow1tye:"; + "-ABCDEFGIQhVXYWZ:vqb:c:i:l:p:m:n:x:u:c:d:z:U:N:sa:rfRSow1tye:"; struct option long_options[] = { {"manage", 0, 0, '@'}, -- 2.47.2