mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Sync program's usage() with manpage's SYNOPSIS.
This commit is contained in:
parent
6b806d21d1
commit
6324f7db72
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141581
@ -47,7 +47,7 @@
|
||||
.Op Fl m Ar pattern
|
||||
.Oo
|
||||
.Op Ar \&N%
|
||||
.Ar file/dir/all
|
||||
.Ar file Ns / Ns Ar directory Ns / Ns Cm all
|
||||
.Oc
|
||||
.Sh DESCRIPTION
|
||||
When
|
||||
|
@ -1364,10 +1364,8 @@ usage()
|
||||
#ifdef DEBUG
|
||||
(void) fprintf(stderr, "D");
|
||||
#endif /* DEBUG */
|
||||
(void) fprintf(stderr, "f");
|
||||
(void) fprintf(stderr, "i");
|
||||
(void) fprintf(stderr, "losw]");
|
||||
(void) fprintf(stderr, "efilosw]");
|
||||
(void) fprintf(stderr, " [-m pattern]");
|
||||
(void) fprintf(stderr, "[[#%%] file/directory/all]\n");
|
||||
(void) fprintf(stderr, " [[N%%] file/directory/all]\n");
|
||||
exit(1);
|
||||
}
|
||||
|
@ -45,7 +45,7 @@
|
||||
.Nd "create a random access file for storing strings"
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Op Fl iorsx
|
||||
.Op Fl Ciorsx
|
||||
.Op Fl c Ar char
|
||||
.Ar source_file
|
||||
.Op Ar output_file
|
||||
|
@ -319,7 +319,7 @@ char **argv;
|
||||
void usage()
|
||||
{
|
||||
(void) fprintf(stderr,
|
||||
"strfile [-Ciorsx] [-c char] sourcefile [datafile]\n");
|
||||
"strfile [-Ciorsx] [-c char] source_file [output_file]\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
|
@ -293,6 +293,6 @@ pfract(len)
|
||||
void
|
||||
usage()
|
||||
{
|
||||
(void)fprintf(stderr, "usage: number [# ...]\n");
|
||||
(void)fprintf(stderr, "usage: number [-l] [# ...]\n");
|
||||
exit(1);
|
||||
}
|
||||
|
@ -188,6 +188,6 @@ static void
|
||||
usage(void)
|
||||
{
|
||||
|
||||
fprintf(stderr, "usage: random [-elruUw] [-f filename] [denominator]\n");
|
||||
fprintf(stderr, "usage: random [-elrUuw] [-f filename] [denominator]\n");
|
||||
exit(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user