summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-02-18 12:55:25 +0000
committerBruno Haible <bruno@clisp.org>2003-02-18 12:55:25 +0000
commit362493686d5d58634f098d9c74c0427e830a2475 (patch)
tree058289bce81a97c2fc7c7067e6a986648ad9fe3d /src
parentec800f65ec88465b0f9b3f9063b945dd4749f535 (diff)
downloadgperf-362493686d5d58634f098d9c74c0427e830a2475.tar.gz
A more standard --version output.
Diffstat (limited to 'src')
-rw-r--r--src/options.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/options.cc b/src/options.cc
index d7f670d..f743738 100644
--- a/src/options.cc
+++ b/src/options.cc
@@ -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 */
{