Changeset 37d4c91 in mainline
- Timestamp:
- 2020-07-17T18:56:37Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3541cb9, 7a873f0
- Parents:
- 583c2a3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/fontviewer/fontviewer.c
r583c2a3 r37d4c91 248 248 static void print_syntax(void) 249 249 { 250 printf("Syntax: %s [-d <display>] \n", NAME);250 printf("Syntax: %s [-d <display>] [<font-file>]\n", NAME); 251 251 } 252 252 … … 257 257 258 258 i = 1; 259 while (i < argc ) {259 while (i < argc && argv[i][0] == '-') { 260 260 if (str_cmp(argv[i], "-d") == 0) { 261 261 ++i; … … 275 275 276 276 if (i < argc) { 277 font_path = argv[i]; 278 } else { 277 279 font_path = NULL; 278 } else {279 font_path = argv[i];280 280 } 281 281
Note:
See TracChangeset
for help on using the changeset viewer.