diff options
Diffstat (limited to 'plugins/check_pgsql.c')
| -rw-r--r-- | plugins/check_pgsql.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index c721b07c..1a93f6bf 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c | |||
| @@ -150,6 +150,9 @@ main (int argc, char **argv) | |||
| 150 | bindtextdomain (PACKAGE, LOCALEDIR); | 150 | bindtextdomain (PACKAGE, LOCALEDIR); |
| 151 | textdomain (PACKAGE); | 151 | textdomain (PACKAGE); |
| 152 | 152 | ||
| 153 | /* Parse extra opts if any */ | ||
| 154 | argv=np_extra_opts (&argc, argv, progname); | ||
| 155 | |||
| 153 | if (process_arguments (argc, argv) == ERROR) | 156 | if (process_arguments (argc, argv) == ERROR) |
| 154 | usage4 (_("Could not parse arguments")); | 157 | usage4 (_("Could not parse arguments")); |
| 155 | 158 | ||
| @@ -412,6 +415,7 @@ print_help (void) | |||
| 412 | print_usage (); | 415 | print_usage (); |
| 413 | 416 | ||
| 414 | printf (_(UT_HELP_VRSN)); | 417 | printf (_(UT_HELP_VRSN)); |
| 418 | printf (_(UT_EXTRA_OPTS)); | ||
| 415 | 419 | ||
| 416 | printf (_(UT_HOST_PORT), 'P', myport); | 420 | printf (_(UT_HOST_PORT), 'P', myport); |
| 417 | 421 | ||
| @@ -447,6 +451,12 @@ print_help (void) | |||
| 447 | printf (" %s\n", _("able to connect to the database without a password. The plugin can also send")); | 451 | printf (" %s\n", _("able to connect to the database without a password. The plugin can also send")); |
| 448 | printf (" %s\n", _("a password, but no effort is made to obsure or encrypt the password.")); | 452 | printf (" %s\n", _("a password, but no effort is made to obsure or encrypt the password.")); |
| 449 | 453 | ||
| 454 | #ifdef NP_EXTRA_OPTS | ||
| 455 | printf ("\n"); | ||
| 456 | printf ("%s\n", _("Notes:")); | ||
| 457 | printf (_(UT_EXTRA_OPTS_NOTES)); | ||
| 458 | #endif | ||
| 459 | |||
| 450 | printf (_(UT_SUPPORT)); | 460 | printf (_(UT_SUPPORT)); |
| 451 | } | 461 | } |
| 452 | 462 | ||
