diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-29 21:33:35 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-29 21:33:35 +0000 |
commit | 4eb7b61f2c1c20024050339e57a2aee041147ec4 (patch) | |
tree | 96002dd0abd5b477d7d771673ceec8d85c96df7b /gcc/gcov.c | |
parent | 360ece753248451ec41e47e4cf6dd0a6ec6d1423 (diff) | |
download | gcc-4eb7b61f2c1c20024050339e57a2aee041147ec4.tar.gz |
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
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r-- | gcc/gcov.c | 1 |
1 files changed, 1 insertions, 0 deletions
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. */ |