Realize the changes to usage() and the man page were missing from

the previous commit, and document the -C (comments) flag.
This commit is contained in:
Daniel C. Sobral 1999-10-27 18:34:05 +00:00
parent c3584b3b4e
commit e8f80deecb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52570
2 changed files with 10 additions and 1 deletions

View File

@ -65,6 +65,15 @@ The output file, if not specified on the command line, is named
.Pp
The options are as follows:
.Bl -tag -width "-c char"
.It Fl C
Flag the file as containing comments. This option cases the
.Dv STR_COMMENTS
bit in the header
.Ar str_flags
field to be set.
Comments are designated by two delimiter characters at the
beginning of the line, though strfile does not give any special
treatment to comment lines.
.It Fl c Ar char
Change the delimiting character from the percent sign to
.Ar char .

View File

@ -317,7 +317,7 @@ char **argv;
void usage()
{
(void) fprintf(stderr,
"strfile [-iorsx] [-c char] sourcefile [datafile]\n");
"strfile [-Ciorsx] [-c char] sourcefile [datafile]\n");
exit(1);
}