diff options
Diffstat (limited to 'src/tru/widget-url.c')
| -rw-r--r-- | src/tru/widget-url.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tru/widget-url.c b/src/tru/widget-url.c index ce14a20..18d8137 100644 --- a/src/tru/widget-url.c +++ b/src/tru/widget-url.c | |||
| @@ -98,9 +98,7 @@ tru_widget_url( | |||
| 98 | 98 | ||
| 99 | // process widget cli options | 99 | // process widget cli options |
| 100 | if ((rc = tru_cli_parse(cnf, cnf->argc, cnf->argv, short_opt, long_opt, &tru_widget_url_usage)) != 0) | 100 | if ((rc = tru_cli_parse(cnf, cnf->argc, cnf->argv, short_opt, long_opt, &tru_widget_url_usage)) != 0) |
| 101 | { | 101 | return((rc == TRU_GETOPT_EXIT) ? 0 : 1); |
| 102 | return((rc == 0) ? 0 : 1); | ||
| 103 | }; | ||
| 104 | if (optind >= cnf->argc) | 102 | if (optind >= cnf->argc) |
| 105 | { | 103 | { |
| 106 | fprintf(stderr, "%s: missing required argument\n", PROGRAM_NAME); | 104 | fprintf(stderr, "%s: missing required argument\n", PROGRAM_NAME); |
