diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-10-21 03:40:06 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2002-10-21 03:40:06 +0000 |
commit | de757dba6e4b8b8271d5b4c74b87ee0229f4eb57 (patch) | |
tree | 19406b63ed9c2c2f65faeca59b06c65a3131c61f /plugins | |
parent | f275f7ff070f249144ccdcd92a8e81b8e44b2d19 (diff) | |
download | monitoring-plugins-de757dba6e4b8b8271d5b4c74b87ee0229f4eb57.tar.gz |
now we provide long opts if they do not exist
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@145 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_pgsql.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index 03614ab1..a2fd90e0 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c @@ -233,13 +233,8 @@ void print_usage (void) { printf ("Usage:\n" " %s %s\n" -#ifdef HAVE_GETOPT_H " %s (-h | --help) for detailed help\n" " %s (-V | --version) for version information\n", -#else - " %s -h for detailed help\n" - " %s -V for version information\n", -#endif PROGNAME, OPTIONS, PROGNAME, PROGNAME); } @@ -280,7 +275,7 @@ process_arguments (int argc, char **argv) break; switch (c) { - case '?': /* help */ + case '?': /* usage */ usage2 ("Unknown argument", optarg); case 'h': /* help */ print_help (); |