From d21c6d5071dfec3042de4b42f1f7754eeb80247b Mon Sep 17 00:00:00 2001 From: tjr Date: Sun, 17 Aug 2003 10:33:54 +0000 Subject: Tidy up usage message. --- usr.bin/getconf/getconf.c | 6 +++--- usr.bin/nl/nl.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/usr.bin/getconf/getconf.c b/usr.bin/getconf/getconf.c index 14345c6..61c1853 100644 --- a/usr.bin/getconf/getconf.c +++ b/usr.bin/getconf/getconf.c @@ -48,9 +48,9 @@ static void do_pathconf(const char *name, int key, const char *path); static void usage(void) { - fprintf(stderr, "usage:\n" - "\tgetconf [-v prog_env] system_var\n" - "\tgetconf [-v prog_env] path_var pathname\n"); + fprintf(stderr, +"usage: getconf [-v prog_env] system_var\n" +" getconf [-v prog_env] path_var pathname\n"); exit(EX_USAGE); } diff --git a/usr.bin/nl/nl.c b/usr.bin/nl/nl.c index 43a7027..e3a5342 100644 --- a/usr.bin/nl/nl.c +++ b/usr.bin/nl/nl.c @@ -403,8 +403,8 @@ static void usage() { - (void)fprintf(stderr, "usage: nl [-p] [-b type] [-d delim] [-f type] \ -[-h type] [-i incr] [-l num]\n\t[-n format] [-s sep] [-v startnum] [-w width] \ -[file]\n"); + (void)fprintf(stderr, +"usage: nl [-p] [-b type] [-d delim] [-f type] [-h type] [-i incr] [-l num]\n" +" [-n format] [-s sep] [-v startnum] [-w width] [file]\n"); exit(EXIT_FAILURE); } -- cgit v1.1