diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2021-10-07 04:07:59 +0200 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2021-10-07 04:12:17 +0200 |
commit | 40767a0da348e013ec6b6ac2b576e4b1a9fd4961 (patch) | |
tree | f9dea788df86ace12d3a545710cadbd87367e6a2 | |
parent | 2da54a029210e50e993ecb400cc245fa936bc422 (diff) | |
download | passt-40767a0da348e013ec6b6ac2b576e4b1a9fd4961.tar passt-40767a0da348e013ec6b6ac2b576e4b1a9fd4961.tar.gz passt-40767a0da348e013ec6b6ac2b576e4b1a9fd4961.tar.bz2 passt-40767a0da348e013ec6b6ac2b576e4b1a9fd4961.tar.lz passt-40767a0da348e013ec6b6ac2b576e4b1a9fd4961.tar.xz passt-40767a0da348e013ec6b6ac2b576e4b1a9fd4961.tar.zst passt-40767a0da348e013ec6b6ac2b576e4b1a9fd4961.zip |
conf: Fix getopt_long() return value for --quiet
Only the short version actually worked.
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
-rw-r--r-- | conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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' }, |