NeilBrown: Correctly parse -N command line option.

Martin F. Krafft madduck at alioth.debian.org
Fri Jan 29 04:04:16 UTC 2010


Module: mdadm
Branch: upstream
Commit: 0c8675cbedee9263569a7f8fcbd2c82b23780145
URL:    http://git.debian.org/?p=pkg-mdadm/mdadm.git;a=commit;h=0c8675cbedee9263569a7f8fcbd2c82b23780145

Author: NeilBrown <neilb at suse.de>
Date:   Thu Jan 28 16:55:28 2010 +1100

Correctly parse -N command line option.

'N' wasn't listed in the sort options, so you
had to use --name :-)

Resolved-Debian-Bug: 564004
Signed-off-by: NeilBrown <neilb at suse.de>

---

 ReadMe.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ReadMe.c b/ReadMe.c
index 1b9d916..cd7b685 100644
--- a/ReadMe.c
+++ b/ReadMe.c
@@ -86,11 +86,11 @@ char Version[] = Name " - v3.1.1 - 19th November 2009\n";
  *     At the time if writing, there is only minimal support.
  */
 
-char short_options[]="-ABCDEFGIQhVXWZvqbc:i:l:p:m:n:x:u:c:d:z:U:sarfRSow1tye:";
+char short_options[]="-ABCDEFGIQhVXWZvqbc:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye:";
 char short_bitmap_options[]=
-                   "-ABCDEFGIQhVXWZvqb:c:i:l:p:m:n:x:u:c:d:z:U:sarfRSow1tye:";
+                   "-ABCDEFGIQhVXWZvqb:c:i:l:p:m:n:x:u:c:d:z:U:N:sarfRSow1tye:";
 char short_bitmap_auto_options[]=
-                   "-ABCDEFGIQhVXWZvqb:c:i:l:p:m:n:x:u:c:d:z:U:sa:rfRSow1tye:";
+                   "-ABCDEFGIQhVXWZvqb:c:i:l:p:m:n:x:u:c:d:z:U:N:sa:rfRSow1tye:";
 
 struct option long_options[] = {
     {"manage",    0, 0, '@'},




More information about the pkg-mdadm-commits mailing list