pkgsrc/net/netsaint-plugins/patches/patch-ac

29 lines
899 B
Text

$NetBSD: patch-ac,v 1.3 2004/01/11 16:08:13 jschauma Exp $
--- ./plugins/check_by_ssh.c.orig 2001-04-23 03:43:11.000000000 -0400
+++ ./plugins/check_by_ssh.c 2004-01-11 11:07:02.000000000 -0500
@@ -387,13 +387,11 @@
-#define OPTIONS "\
--H <host> [-P port] [-f] [-y] [-t timeout] [-i identity]\n
- [-l user] [-n name] [-s servicelist] [-O outputfile]"
-
void print_usage(void)
{
- printf ("Usage:\n %s %s\n"
+ printf ("Usage:\n %s "
+ "-H <host> [-P port] [-f] [-y] [-t timeout] [-i identity]\n"
+ " [-l user] [-n name] [-s servicelist] [-O outputfile]\n"
#ifdef HAVE_GETOPT_H
" %s (-h | --help) for detailed help\n"
" %s (-V | --version) for version information\n",
@@ -401,6 +399,6 @@
" %s -h for detailed help\n"
" %s -V for version information\n",
#endif
- PROGNAME, OPTIONS, PROGNAME, PROGNAME);
+ PROGNAME, PROGNAME, PROGNAME);
}