summaryrefslogtreecommitdiffstats
path: root/plugins/check_pgsql.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-11-24 00:46:40 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2004-11-24 00:46:40 (GMT)
commit0c1c9f51e2c33db04918d2aa322fd1f9a688979b (patch)
treec7956483bce0deb4b73ca3a6b9d0b7f2e97620db /plugins/check_pgsql.c
parent589d4664919638bedd6e2e1710c323887d19584a (diff)
downloadmonitoring-plugins-0c1c9f51e2c33db04918d2aa322fd1f9a688979b.tar.gz
Making messages more consistent
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@930 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_pgsql.c')
-rw-r--r--plugins/check_pgsql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c
index 22a5b81..07abd9c 100644
--- a/plugins/check_pgsql.c
+++ b/plugins/check_pgsql.c
@@ -216,7 +216,7 @@ process_arguments (int argc, char **argv)
216 exit (STATE_OK); 216 exit (STATE_OK);
217 case 't': /* timeout period */ 217 case 't': /* timeout period */
218 if (!is_integer (optarg)) 218 if (!is_integer (optarg))
219 usage2 (_("Timeout Interval must be an integer"), optarg); 219 usage2 (_("Timeout interval must be a positive integer"), optarg);
220 else 220 else
221 timeout_interval = atoi (optarg); 221 timeout_interval = atoi (optarg);
222 break; 222 break;
@@ -234,7 +234,7 @@ process_arguments (int argc, char **argv)
234 break; 234 break;
235 case 'H': /* host */ 235 case 'H': /* host */
236 if (!is_host (optarg)) 236 if (!is_host (optarg))
237 usage2 (_("You gave an invalid host name"), optarg); 237 usage2 (_("Invalid host name"), optarg);
238 else 238 else
239 pghost = optarg; 239 pghost = optarg;
240 break; 240 break;