From 4eb7b61f2c1c20024050339e57a2aee041147ec4 Mon Sep 17 00:00:00 2001 From: sayle Date: Thu, 29 May 2003 21:33:35 +0000 Subject: PR bootstrap/10169 * mips-tfile.c (main): Use getopt_long instead of getopt. Add new command line option --version to display version. Treat --verbose like -v to report a single line version. (options): New global variable for getopt_long. * mips-tdump.c (main): Use getopt_long instead of getopt. New command line options -v, --version and -verbose to display the program version number (to match mips-tfile's behavior). (options): New global variable for getopt_long. * gcov.c (options): Zero-terminate getopt_long array. * gcov-dump.c (options): Likewise. * Makefile.in (mips-tdump.o): Add dependency on version.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67230 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gcov.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/gcov.c') diff --git a/gcc/gcov.c b/gcc/gcov.c index 3a7de61d3f4..4c92170ebbf 100644 --- a/gcc/gcov.c +++ b/gcc/gcov.c @@ -445,6 +445,7 @@ static const struct option options[] = { "object-directory", required_argument, NULL, 'o' }, { "object-file", required_argument, NULL, 'o' }, { "unconditional-branches", no_argument, NULL, 'u' }, + { 0, 0, 0, 0 } }; /* Process args, return index to first non-arg. */ -- cgit v1.2.1