chiark / gitweb /
systemd-detect-virt: fix "option '--quiet' requires an argument"
[elogind.git] / src / detect-virt / detect-virt.c
index 8b8fc45ea0d61f4ad7d5076788f7adc199fe47a9..bbb9dfc19a5d03277d7833ea329194af8ee7f700 100644 (file)
@@ -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             }
         };