command line parsing starts after the -

This commit is contained in:
Enno Rehling 2007-03-01 07:55:44 +00:00
parent 6b6132605f
commit fc121f99a6
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ read_args(int argc, char **argv)
int k; int k;
boolean next = false; boolean next = false;
for (k=0;!next && argv[i][k];++k) { for (k=1;!next && argv[i][k];++k) {
int c = argv[i][k]; int c = argv[i][k];
switch (c) { switch (c) {
case 'd': case 'd':