Tidy up usage message.
This commit is contained in:
parent
a3092ad9c2
commit
7007f3d660
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user