* gprof.c (usage): Print bug report address.
(main): Change version printing to match current GNU standards.
This commit is contained in:
parent
673cb062e9
commit
50622dea73
|
@ -1,3 +1,8 @@
|
||||||
|
Tue Oct 1 15:58:10 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
|
* gprof.c (usage): Print bug report address.
|
||||||
|
(main): Change version printing to match current GNU standards.
|
||||||
|
|
||||||
Fri Aug 30 12:16:11 1996 Ian Lance Taylor <ian@cygnus.com>
|
Fri Aug 30 12:16:11 1996 Ian Lance Taylor <ian@cygnus.com>
|
||||||
|
|
||||||
* gmon.h: Replace #elif with #else/#endif.
|
* gmon.h: Replace #elif with #else/#endif.
|
||||||
|
|
|
@ -147,6 +147,8 @@ Usage: %s [-[abcDhilLsTvwxyz]] [-[ACeEfFJnNOpPqQZ][name]] [-I dirs]\n\
|
||||||
[--version] [--width=n] [--ignore-non-functions]\n\
|
[--version] [--width=n] [--ignore-non-functions]\n\
|
||||||
[image-file] [profile-file...]\n",
|
[image-file] [profile-file...]\n",
|
||||||
whoami);
|
whoami);
|
||||||
|
if (status == 0)
|
||||||
|
fprintf (stream, "Report bugs to bug-gnu-utils@prep.ai.mit.edu\n");
|
||||||
done (status);
|
done (status);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -369,7 +371,12 @@ DEFUN (main, (argc, argv), int argc AND char **argv)
|
||||||
bsd_style_output = TRUE;
|
bsd_style_output = TRUE;
|
||||||
break;
|
break;
|
||||||
case 'v':
|
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);
|
done (0);
|
||||||
case 'w':
|
case 'w':
|
||||||
output_width = atoi (optarg);
|
output_width = atoi (optarg);
|
||||||
|
|
Loading…
Reference in New Issue