From: Duncaen Date: Wed, 29 Jun 2016 23:33:08 +0000 (+0200) Subject: use posix correct optstring X-Git-Tag: v6.0~7 X-Git-Url: https://git.armaanb.net/?a=commitdiff_plain;h=6ed45e5ffe674eae211814a9c4cfdba38f62ebdc;hp=03b7619e47e684f240da58fb8ea93edccfee6c98;p=opendoas.git use posix correct optstring --- diff --git a/doas.c b/doas.c index c1b822b..05d2b93 100644 --- a/doas.c +++ b/doas.c @@ -256,7 +256,7 @@ main(int argc, char **argv) #ifdef HAVE_BSD_AUTH_H # define OPTSTRING "a:C:nsu:v" #else -# define OPTSTRING "C:nsu:v" +# define OPTSTRING "+C:nsu:v" #endif while ((ch = getopt(argc, argv, OPTSTRING)) != -1) {