|
|
| version 1.23, 2005/03/23 13:43:36 | version 1.24, 2007/01/10 16:01:59 |
|---|---|
| Line 142 main(int argc, char *argv[]) | Line 142 main(int argc, char *argv[]) |
| toolkit_initialize(); | toolkit_initialize(); |
| toolkit_arginit(&argc, &argv); | toolkit_arginit(&argc, &argv); |
| while ((ch = getopt_long(argc, argv, "c:C:t:ph", longopts, NULL)) != -1) { | while ((ch = getopt_long(argc, argv, "c:C:t:vh", longopts, NULL)) != -1) { |
| switch (ch) { | switch (ch) { |
| case 'c': | case 'c': |
| if (stat(optarg, &sb) < 0 || !S_ISREG(sb.st_mode)) { | if (stat(optarg, &sb) < 0 || !S_ISREG(sb.st_mode)) { |
| Line 173 main(int argc, char *argv[]) | Line 173 main(int argc, char *argv[]) |
| milstr_ncpy(fontfilename, optarg, sizeof(fontfilename)); | milstr_ncpy(fontfilename, optarg, sizeof(fontfilename)); |
| break; | break; |
| case 'v': | |
| verbose = 1; | |
| break; | |
| case 'h': | case 'h': |
| case '?': | case '?': |
| default: | default: |