1
0
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:
Ruslan Ermilov 2005-02-09 18:22:15 +00:00
parent 6b806d21d1
commit 6324f7db72
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=141581
6 changed files with 7 additions and 9 deletions

View File

@ -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

View File

@ -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);
}

View File

@ -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

View 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);
}

View File

@ -293,6 +293,6 @@ pfract(len)
void
usage()
{
(void)fprintf(stderr, "usage: number [# ...]\n");
(void)fprintf(stderr, "usage: number [-l] [# ...]\n");
exit(1);
}

View File

@ -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);
}