summaryrefslogtreecommitdiffstats
path: root/plugins/utils.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 16:51:25 +0000
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 16:51:25 +0000
commit234481163fc3caf0cb8b14f601f0f9f1458f97f5 (patch)
treee8debce30a2722f5f4dc5e33faf54c9915dd022f /plugins/utils.c
parentdf1bd0c89ff63de64ee630e0025389651947020c (diff)
downloadmonitoring-plugins-234481163fc3caf0cb8b14f601f0f9f1458f97f5.tar.gz
More internationalization work
new usage4 function to permit localisation of think like check_ssh: xxxxx git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@979 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/utils.c')
-rw-r--r--plugins/utils.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/utils.c b/plugins/utils.c
index 460ff824..1d7c0db6 100644
--- a/plugins/utils.c
+++ b/plugins/utils.c
@@ -73,6 +73,13 @@ usage3 (const char *msg, int arg)
73 exit (STATE_UNKNOWN); 73 exit (STATE_UNKNOWN);
74} 74}
75 75
76void
77usage4 (const char *msg)
78{
79 printf ("%s: %s\n", progname, msg);
80 print_usage();
81 exit (STATE_UNKNOWN);
82}
76 83
77void 84void
78support (void) 85support (void)