summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f275f7f)
raw | patch | inline | side by side (parent: f275f7f)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Mon, 21 Oct 2002 03:40:06 +0000 (03:40 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Mon, 21 Oct 2002 03:40:06 +0000 (03:40 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@145 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_pgsql.c | patch | blob | history |
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index 03614ab1a8a2662cfbe51824623b904b5104f0f2..a2fd90e01b2f4c250950766d51a2d1179c8626b6 100644 (file)
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
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);
}
\f
break;
switch (c) {
- case '?': /* help */
+ case '?': /* usage */
usage2 ("Unknown argument", optarg);
case 'h': /* help */
print_help ();