diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-10-01 19:58:36 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-10-01 19:58:36 +0000 |
commit | 50622dea73415071f6dbcdad5797326d175f1526 (patch) | |
tree | 8238966166868635c2d8884ecce724f664d40daa /gprof/gprof.c | |
parent | 673cb062e99f0c119fa5cb82b517c8b747fb8e9e (diff) | |
download | gdb-50622dea73415071f6dbcdad5797326d175f1526.zip gdb-50622dea73415071f6dbcdad5797326d175f1526.tar.gz gdb-50622dea73415071f6dbcdad5797326d175f1526.tar.bz2 |
* gprof.c (usage): Print bug report address.
(main): Change version printing to match current GNU standards.
Diffstat (limited to 'gprof/gprof.c')
-rw-r--r-- | gprof/gprof.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c index 7128aa9..cb76cff 100644 --- a/gprof/gprof.c +++ b/gprof/gprof.c @@ -147,6 +147,8 @@ Usage: %s [-[abcDhilLsTvwxyz]] [-[ACeEfFJnNOpPqQZ][name]] [-I dirs]\n\ [--version] [--width=n] [--ignore-non-functions]\n\ [image-file] [profile-file...]\n", whoami); + if (status == 0) + fprintf (stream, "Report bugs to bug-gnu-utils@prep.ai.mit.edu\n"); done (status); } @@ -369,7 +371,12 @@ DEFUN (main, (argc, argv), int argc AND char **argv) bsd_style_output = TRUE; break; case 'v': - printf ("%s version %s\n", whoami, VERSION); + /* This output is intended to follow the GNU standards document. */ + printf ("GNU gprof %s\n", VERSION); + printf ("Copyright 1996 Free Software Foundation, Inc.\n"); + printf ("\ +This program is free software; you may redistribute it under the terms of\n\ +the GNU General Public License. This program has absolutely no warranty.\n"); done (0); case 'w': output_width = atoi (optarg); |