summaryrefslogtreecommitdiff
path: root/src/detect-virt
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-06-04 12:39:22 +0200
committerKay Sievers <kay@vrfy.org>2012-06-04 12:39:22 +0200
commit8c32f0143b15e4c18142cce6703f66e26db69899 (patch)
tree61632d5e5a01855b64cee6e3e321dfb27fc680a0 /src/detect-virt
parent7ff5404be1bad93cb8facbcae0bc78f77f9e067d (diff)
systemd-detect-virt: fix "option '--quiet' requires an argument"
https://bugs.freedesktop.org/show_bug.cgi?id=50671
Diffstat (limited to 'src/detect-virt')
-rw-r--r--src/detect-virt/detect-virt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/detect-virt/detect-virt.c b/src/detect-virt/detect-virt.c
index 8b8fc45ea0..bbb9dfc19a 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 }
};