From: Fredrik Tolf Date: Tue, 31 Aug 2010 21:19:28 +0000 (+0200) Subject: userplex: Parse command-line arguments properly. X-Git-Tag: 0.1~48 X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=commitdiff_plain;h=42384d2a2870e2cc119fdaa4db42de9865c6cea1 userplex: Parse command-line arguments properly. --- diff --git a/src/userplex.c b/src/userplex.c index 592c1b2..565884d 100644 --- a/src/userplex.c +++ b/src/userplex.c @@ -242,7 +242,7 @@ int main(int argc, char **argv) int fd; struct charvbuf csbuf; - while((c = getopt(argc, argv, "hIg:m:d:")) >= 0) { + while((c = getopt(argc, argv, "+hIg:m:d:")) >= 0) { switch(c) { case 'I': ignore = 1;