1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 13:09:22 +00:00

A more standard --version output.

This commit is contained in:
Bruno Haible
2003-02-18 12:55:25 +00:00
parent ec800f65ec
commit 362493686d
2 changed files with 10 additions and 0 deletions

View File

@@ -1,5 +1,8 @@
2002-11-17 Bruno Haible <bruno@clisp.org>
* src/options.cc (Options::parse_options): Include copyright notice
and authors in --version output.
Avoid artificial duplicates.
* src/keyword.h (KeywordExt::init_selchars_tuple): New declaration.
(KeywordExt::init_selchars_multiset): Renamed from

View File

@@ -901,6 +901,13 @@ Options::parse_options (int argc, char *argv[])
}
case 'v': /* Print out the version and quit. */
fprintf (stdout, "GNU gperf %s\n", version_string);
fprintf (stdout, "Copyright (C) %s Free Software Foundation, Inc.\n\
This is free software; see the source for copying conditions. There is NO\n\
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\
",
"1989-1998, 2000-2002");
fprintf (stdout, "Written by %s and %s.\n",
"Douglas C. Schmidt", "Bruno Haible");
exit (0);
case 'W': /* Sets the name for the hash table array */
{