Changeset c9c1ccd in mainline
- Timestamp:
- 2018-12-12T16:23:36Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4f38ad77, 91fc2dae, af8c793b
- Parents:
- 737ebf3 (diff), 6abdef37 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Maurizio Lombardi <m.lombardi85@…> (2018-12-12 16:23:36)
- git-committer:
- GitHub <noreply@…> (2018-12-12 16:23:36)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/mkext4/mkext4.c
r737ebf3 rc9c1ccd 68 68 ++argv; 69 69 70 while (*argv [0] == '-') {70 while (*argv && *argv[0] == '-') { 71 71 if (str_cmp(*argv, "--size") == 0) { 72 72 --argc; … … 87 87 --argc; 88 88 ++argv; 89 continue; 89 90 } 90 91 … … 107 108 --argc; 108 109 ++argv; 110 continue; 109 111 } 110 112 … … 122 124 --argc; 123 125 ++argv; 126 continue; 127 } 128 129 if (str_cmp(*argv, "--help") == 0) { 130 syntax_print(); 131 return 0; 124 132 } 125 133 … … 128 136 ++argv; 129 137 break; 138 } else { 139 printf(NAME ": Invalid argument: %s\n", *argv); 140 syntax_print(); 141 return 1; 130 142 } 131 143 }
Note:
See TracChangeset
for help on using the changeset viewer.