From: Chris Hofstaedtler Date: Tue, 3 Apr 2018 09:20:02 +0000 (+0200) Subject: dnsdist: remove optional arg from short-form -v X-Git-Tag: dnsdist-1.3.1~181^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=104c90aef103e6ae0bda4f16878c8b5c31cecf8a;p=pdns dnsdist: remove optional arg from short-form -v --- diff --git a/pdns/dnsdist.cc b/pdns/dnsdist.cc index cd96999d5..f08d0eaf2 100644 --- a/pdns/dnsdist.cc +++ b/pdns/dnsdist.cc @@ -2084,9 +2084,9 @@ try string optstring; for(;;) { #ifdef HAVE_LIBSODIUM - int c=getopt_long(argc, argv, "a:hce:C:k:l:v:g:u:V", longopts, &longindex); + int c=getopt_long(argc, argv, "a:hce:C:k:l:vg:u:V", longopts, &longindex); #else - int c=getopt_long(argc, argv, "a:hce:C:l:v:g:u:V", longopts, &longindex); + int c=getopt_long(argc, argv, "a:hce:C:l:vg:u:V", longopts, &longindex); #endif if(c==-1) break;