]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-fstest.c (options): Remove OPTION_ARG_OPTIONAL from options
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 6 Mar 2012 10:38:50 +0000 (11:38 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Tue, 6 Mar 2012 10:38:50 +0000 (11:38 +0100)
without argument.
* util/grub-mount.c (options): Likewise.

ChangeLog
util/grub-fstest.c
util/grub-mount.c

index cf1623f36a00aa02d077f1ef5301e03e38af9134..66d243f45390dc4d61154c5dd85aa54752ee1277 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-03-05  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * util/grub-fstest.c (options): Remove OPTION_ARG_OPTIONAL from options
+       without argument.
+       * util/grub-mount.c (options): Likewise.
+
 2012-03-05  Vladimir Serbinenko  <phcoder@gmail.com>
 
        * util/grub-mkimage.c (generate_image): Unify diskboot.img size message.
index 1ce41ee8b5946def262186a69a2125599c4c9e34..24e508f67708102af14b4c4164238984551da4e5 100644 (file)
@@ -452,12 +452,12 @@ static struct argp_option options[] = {
   {"length",    'n', "N",           0, N_("Handle N bytes in output file."),   2},
   {"diskcount", 'c', "N",           0, N_("Specify the number of input files."),                   2},
   {"debug",     'd', "S",           0, N_("Set debug environment variable."),  2},
-  {"crypto",   'C', NULL, OPTION_ARG_OPTIONAL, N_("Mount crypto devices."), 2},
+  {"crypto",   'C', NULL, 0, N_("Mount crypto devices."), 2},
   {"zfs-key",      'K',
    /* TRANSLATORS: "prompt" is a keyword.  */
    N_("FILE|prompt"), 0, N_("Load zfs crypto key."),                 2},
-  {"verbose",   'v', NULL, OPTION_ARG_OPTIONAL, N_("print verbose messages."), 2},
-  {"uncompress", 'u', NULL, OPTION_ARG_OPTIONAL, N_("Uncompress data."), 2},
+  {"verbose",   'v', NULL, 0, N_("print verbose messages."), 2},
+  {"uncompress", 'u', NULL, 0, N_("Uncompress data."), 2},
   {0, 0, 0, 0, 0, 0}
 };
 
index 2a5928f0dbb28021f4e736a0263852726f582e22..e0a7edba33541f51d926983159fedf6c8040e4d0 100644 (file)
@@ -409,11 +409,11 @@ fuse_init (void)
 static struct argp_option options[] = {  
   {"root",      'r', N_("DEVICE_NAME"), 0, N_("Set root device."),                 2},
   {"debug",     'd', "S",           0, N_("Set debug environment variable."),  2},
-  {"crypto",   'C', NULL, OPTION_ARG_OPTIONAL, N_("Mount crypto devices."), 2},
+  {"crypto",   'C', NULL, 0, N_("Mount crypto devices."), 2},
   {"zfs-key",      'K',
    /* TRANSLATORS: "prompt" is a keyword.  */
    N_("FILE|prompt"), 0, N_("Load zfs crypto key."),                 2},
-  {"verbose",   'v', NULL, OPTION_ARG_OPTIONAL, N_("print verbose messages."), 2},
+  {"verbose",   'v', NULL, 0, N_("print verbose messages."), 2},
   {0, 0, 0, 0, 0, 0}
 };