Changes in / [c9c1ccd:737ebf3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkext4/mkext4.c
rc9c1ccd r737ebf3 68 68 ++argv; 69 69 70 while (*argv && *argv[0] == '-') {70 while (*argv[0] == '-') { 71 71 if (str_cmp(*argv, "--size") == 0) { 72 72 --argc; … … 87 87 --argc; 88 88 ++argv; 89 continue;90 89 } 91 90 … … 108 107 --argc; 109 108 ++argv; 110 continue;111 109 } 112 110 … … 124 122 --argc; 125 123 ++argv; 126 continue;127 }128 129 if (str_cmp(*argv, "--help") == 0) {130 syntax_print();131 return 0;132 124 } 133 125 … … 136 128 ++argv; 137 129 break; 138 } else {139 printf(NAME ": Invalid argument: %s\n", *argv);140 syntax_print();141 return 1;142 130 } 143 131 }
Note:
See TracChangeset
for help on using the changeset viewer.