diff options
-rw-r--r-- | games/fortune/strfile/strfile.8 | 9 | ||||
-rw-r--r-- | games/fortune/strfile/strfile.c | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/games/fortune/strfile/strfile.8 b/games/fortune/strfile/strfile.8 index e5598e6..0d992b8 100644 --- a/games/fortune/strfile/strfile.8 +++ b/games/fortune/strfile/strfile.8 @@ -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 . diff --git a/games/fortune/strfile/strfile.c b/games/fortune/strfile/strfile.c index 711f8d5..4d5ae66 100644 --- a/games/fortune/strfile/strfile.c +++ b/games/fortune/strfile/strfile.c @@ -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); } |