$OpenBSD: patch-usage_c,v 1.1 2004/01/06 02:14:37 espie Exp $ --- usage.c.orig 2004-01-06 03:10:03.000000000 +0100 +++ usage.c 2004-01-06 03:11:03.000000000 +0100 @@ -40,38 +40,38 @@ usage(show_macros) { if (show_macros) - (void)printf("Macros: -(Valid macros for -f option) - %%s insert space %%h insert hostname - %%n insert newline %%c insert double quotes - %%t insert tab %%T insert total ip addresses - %%i insert ip address %%d exec program in background mode\n\n"); + (void)printf("Macros:\n" +"(Valid macros for -f option)\n" +" %%s insert space %%h insert hostname\n" +" %%n insert newline %%c insert double quotes\n" +" %%t insert tab %%T insert total ip addresses\n" +" %%i insert ip address %%d exec program in background mode\n\n"); else { (void)printf("\n%s", TITLE); - (void)printf(" -Usage: plushs [-acDhmTv] [-f format] [-l ip-file] [-o logfile] - [-P plugin-id/ids] [-s pattern] [-t timeout] [-w wait] - [-x patterns-file] ip-address or ip-address-range - -Options: - -a Show hostname aliasses. - -c Turn off color. - -D Run in daemon mode. - -f format Execute string when a match is found. - -h Print this help. - -l Scan ip address or ip addresses range from file . - -m Like -f option, for -l option. - -o Logs output to . - -P Run plugin for each ip address. - -t Set timeout. - -T Use TCP for queries (UDP will be used by default). - -v Verbose mode. - -w Wait seconds between each hostname search. - -s Search in the hostname and output to a logfile. - -x Extract patterns from file and output to a logfile. - - ejem: 192.168.1-255.1-255\n\n"); + (void)printf("\n" +"Usage: plushs [-acDhmTv] [-f format] [-l ip-file] [-o logfile]\n" +" [-P plugin-id/ids] [-s pattern] [-t timeout] [-w wait]\n" +" [-x patterns-file] ip-address or ip-address-range\n" +"\n" +"Options:\n" +" -a Show hostname aliasses.\n" +" -c Turn off color.\n" +" -D Run in daemon mode.\n" +" -f format Execute string when a match is found.\n" +" -h Print this help.\n" +" -l Scan ip address or ip addresses range from file .\n" +" -m Like -f option, for -l option.\n" +" -o Logs output to .\n" +" -P Run plugin for each ip address.\n" +" -t Set timeout.\n" +" -T Use TCP for queries (UDP will be used by default).\n" +" -v Verbose mode.\n" +" -w Wait seconds between each hostname search.\n" +" -s Search in the hostname and output to a logfile.\n" +" -x Extract patterns from file and output to a logfile.\n" +"\n" +" ejem: 192.168.1-255.1-255\n\n"); } exit(0);