mirror of
https://git.savannah.gnu.org/git/gperf.git
synced 2025-12-02 21:19:24 +00:00
A more standard --version output.
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
2002-11-17 Bruno Haible <bruno@clisp.org>
|
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.
|
Avoid artificial duplicates.
|
||||||
* src/keyword.h (KeywordExt::init_selchars_tuple): New declaration.
|
* src/keyword.h (KeywordExt::init_selchars_tuple): New declaration.
|
||||||
(KeywordExt::init_selchars_multiset): Renamed from
|
(KeywordExt::init_selchars_multiset): Renamed from
|
||||||
|
|||||||
@@ -901,6 +901,13 @@ Options::parse_options (int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
case 'v': /* Print out the version and quit. */
|
case 'v': /* Print out the version and quit. */
|
||||||
fprintf (stdout, "GNU gperf %s\n", version_string);
|
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);
|
exit (0);
|
||||||
case 'W': /* Sets the name for the hash table array */
|
case 'W': /* Sets the name for the hash table array */
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user