From: short <> Date: Wed, 1 Dec 1999 13:49:58 +0000 (+0000) Subject: Ugly argument parsing bug fixed, courtesy of Bruno Ferri . X-Git-Tag: rel_1_5_1~22 X-Git-Url: https://git.jankratochvil.net/?p=mdsms.git;a=commitdiff_plain;h=52e7876b4289d587a9edb252363691e59fa9e525 Ugly argument parsing bug fixed, courtesy of Bruno Ferri . --- diff --git a/mdsms.c b/mdsms.c index aad2551..d3f7f74 100644 --- a/mdsms.c +++ b/mdsms.c @@ -316,7 +316,8 @@ static const struct option longopts[]={ {"file" ,0,0,'f'}, {"verbose" ,0,0,'v'}, {"help" ,0,0,'h'}, -{"version" ,0,0,'V'}}; +{"version" ,0,0,'V'}, +{NULL ,0,0,0 }}; static void processargs(int argp,char **args,const char *from);