mirror of
https://passt.top/passt
synced 2024-12-22 21:55:22 +00:00
conf: Fix getopt_long() return value for --quiet
Only the short version actually worked. Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
parent
2da54a0292
commit
40767a0da3
2
conf.c
2
conf.c
@ -914,7 +914,7 @@ void conf(struct ctx *c, int argc, char **argv)
|
||||
{
|
||||
struct option options[] = {
|
||||
{"debug", no_argument, NULL, 'd' },
|
||||
{"quiet", no_argument, NULL, 1 },
|
||||
{"quiet", no_argument, NULL, 'q' },
|
||||
{"foreground", no_argument, NULL, 'f' },
|
||||
{"stderr", no_argument, &c->stderr, 1 },
|
||||
{"help", no_argument, NULL, 'h' },
|
||||
|
Loading…
Reference in New Issue
Block a user