]> rtime.felk.cvut.cz Git - frescor/forb.git/commitdiff
forbrun: Correctly handle arguments to -i switch
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 22 Feb 2011 10:38:05 +0000 (11:38 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 22 Feb 2011 10:38:05 +0000 (11:38 +0100)
src/forbrun/forbrun.c

index 426f773ae1f0a283f4793ca4a4981f1a5efe1417..9e7ec0d34fccbf3fbb06989285feb0ab9ac80058 100644 (file)
@@ -72,7 +72,7 @@ int main(int argc, char *argv[])
        };
        int  opt;
 
-       while ((opt = getopt_long(argc, argv, "d::hil:p:x", &long_opts[0], NULL)) != EOF) {
+       while ((opt = getopt_long(argc, argv, "d::hi:l:p:", &long_opts[0], NULL)) != EOF) {
                switch (opt) {
                        case 'l':
                                if (*optarg == '?') {