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-dump.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-dump.c')
-rw-r--r-- | gcc/gcov-dump.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gcov-dump.c b/gcc/gcov-dump.c index c7c31ad5454..57a020a3359 100644 --- a/gcc/gcov-dump.c +++ b/gcc/gcov-dump.c @@ -55,6 +55,7 @@ static const struct option options[] = { "version", no_argument, NULL, 'v' }, { "long", no_argument, NULL, 'l' }, { "positions", no_argument, NULL, 'o' }, + { 0, 0, 0, 0 } }; static const tag_format_t tag_table[] = |