diff options
Diffstat (limited to 'src/tru/widget-config.c')
| -rw-r--r-- | src/tru/widget-config.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tru/widget-config.c b/src/tru/widget-config.c index a90dc1d..cf52aec 100644 --- a/src/tru/widget-config.c +++ b/src/tru/widget-config.c | |||
| @@ -63,9 +63,7 @@ tru_widget_config( | |||
| 63 | 63 | ||
| 64 | // process widget cli options | 64 | // process widget cli options |
| 65 | if ((rc = tru_cli_parse(cnf, cnf->argc, cnf->argv, short_opt, long_opt, &tru_usage)) != 0) | 65 | if ((rc = tru_cli_parse(cnf, cnf->argc, cnf->argv, short_opt, long_opt, &tru_usage)) != 0) |
| 66 | { | 66 | return((rc == TRU_GETOPT_EXIT) ? 0 : 1); |
| 67 | return((rc == 0) ? 0 : 1); | ||
| 68 | }; | ||
| 69 | if (optind < cnf->argc) | 67 | if (optind < cnf->argc) |
| 70 | { | 68 | { |
| 71 | fprintf(stderr, "%s: unrecognized argument `-- %s'\n", PROGRAM_NAME, cnf->argv[optind+1]); | 69 | fprintf(stderr, "%s: unrecognized argument `-- %s'\n", PROGRAM_NAME, cnf->argv[optind+1]); |
