# | Line 41 | Line 41 | main(int argc, char *argv[]) | |
---|---|---|
41 | progname = argv[0]; | |
42 | ||
43 | for (i = 1; i < argc; i++) | |
44 | < | if (argv[i][0] == '-') |
44 | > | if (argv[i][0] == '-' && argv[i][1]) |
45 | switch (argv[i][1]) { | |
46 | case 'b': | |
47 | rgbp = NULL; | |
# | Line 71 | Line 71 | main(int argc, char *argv[]) | |
71 | break; | |
72 | case 'r': | |
73 | reverse = !reverse; | |
74 | – | break; |
75 | – | case '\0': |
74 | break; | |
75 | default: | |
76 | goto userr; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |