[systemd-commits] src/detect-virt

Kay Sievers kay at kemper.freedesktop.org
Mon Jun 4 03:41:19 PDT 2012


 src/detect-virt/detect-virt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8c32f0143b15e4c18142cce6703f66e26db69899
Author: Kay Sievers <kay at vrfy.org>
Date:   Mon Jun 4 12:39:22 2012 +0200

    systemd-detect-virt: fix "option '--quiet' requires an argument"
    
    https://bugs.freedesktop.org/show_bug.cgi?id=50671

diff --git a/src/detect-virt/detect-virt.c b/src/detect-virt/detect-virt.c
index 8b8fc45..bbb9dfc 100644
--- a/src/detect-virt/detect-virt.c
+++ b/src/detect-virt/detect-virt.c
@@ -61,7 +61,7 @@ static int parse_argv(int argc, char *argv[]) {
                 { "version",   no_argument,       NULL, ARG_VERSION   },
                 { "container", no_argument,       NULL, 'c'           },
                 { "vm",        optional_argument, NULL, 'v'           },
-                { "quiet",     required_argument, NULL, 'q'           },
+                { "quiet",     no_argument,       NULL, 'q'           },
                 { NULL,        0,                 NULL, 0             }
         };
 



More information about the systemd-commits mailing list