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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=104c90aef103e6ae0bda4f16878c8b5c31cecf8a;p=thirdparty%2Fpdns.git dnsdist: remove optional arg from short-form -v --- diff --git a/pdns/dnsdist.cc b/pdns/dnsdist.cc index cd96999d5b..f08d0eaf24 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;