From 99323fc37c7f715ce08254f24e4967454b513cc3 Mon Sep 17 00:00:00 2001 From: Ulya Trofimovich Date: Tue, 1 Dec 2015 17:45:59 +0000 Subject: [PATCH] Added description of '--no-version' option to help and manpage. --- re2c/bootstrap/doc/re2c.1 | 8 +++++--- re2c/doc/manpage.rst.in | 6 ++++-- re2c/src/conf/msg.cc | 5 +++-- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/re2c/bootstrap/doc/re2c.1 b/re2c/bootstrap/doc/re2c.1 index 7d8af250..6e499a6b 100644 --- a/re2c/bootstrap/doc/re2c.1 +++ b/re2c/bootstrap/doc/re2c.1 @@ -162,8 +162,10 @@ strings. With this switch single quotes are case sensitive and double quotes are case insensitive. .TP .B \fB\-\-no\-generation\-date\fP -Suppress date output in the generated output so -that it only shows the \fBre2c\fP version. +Suppress date output in the generated file. +.TP +.B \fB\-\-no\-generation\-date\fP +Suppress version output in the generated file. .TP .B \fB\-\-encoding\-policy POLICY\fP Specify how \fBre2c\fP must treat Unicode @@ -1041,6 +1043,6 @@ Emmanuel Mogenet \fI\%mgix@mgix.com\fP Ulya Trofimovich \fI\%skvadrik@gmail.com\fP .SH VERSION INFORMATION .sp -This manpage describes \fBre2c\fP version 0.15.2, package date 23 Nov 2015. +This manpage describes \fBre2c\fP version 0.15.2, package date 01 Dec 2015. .\" Generated by docutils manpage writer. . diff --git a/re2c/doc/manpage.rst.in b/re2c/doc/manpage.rst.in index 3df0b7c3..74ea01ea 100644 --- a/re2c/doc/manpage.rst.in +++ b/re2c/doc/manpage.rst.in @@ -144,8 +144,10 @@ OPTIONS quotes are case insensitive. ``--no-generation-date`` - Suppress date output in the generated output so - that it only shows the ``re2c`` version. + Suppress date output in the generated file. + +``--no-generation-date`` + Suppress version output in the generated file. ``--encoding-policy POLICY`` Specify how ``re2c`` must treat Unicode diff --git a/re2c/src/conf/msg.cc b/re2c/src/conf/msg.cc index d6feab45..90d05cd9 100644 --- a/re2c/src/conf/msg.cc +++ b/re2c/src/conf/msg.cc @@ -124,8 +124,9 @@ void usage () " re2c assumes that input character size is 1 byte. This switch is\n" " incompatible with -e, -w, -x and -u." "\n" - "--no-generation-date Suppress date output in the generated output so that it\n" - " only shows the re2c version.\n" + "--no-generation-date Suppress date output in the generated file.\n" + "\n" + "--no-version Suppress version output in the generated file.\n" "\n" "--case-insensitive All strings are case insensitive, so all \"-expressions\n" " are treated in the same way '-expressions are.\n" -- 2.40.0