systemd-detect-virt: fix "option '--quiet' requires an argument"

https://bugs.freedesktop.org/show_bug.cgi?id=50671
This commit is contained in:
Kay Sievers 2012-06-04 12:39:22 +02:00
parent 7ff5404be1
commit 8c32f0143b
1 changed files with 1 additions and 1 deletions

View 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 }
};