diff options
author | Nick Clifton <nickc@redhat.com> | 2000-05-26 21:11:33 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-05-26 21:11:33 +0000 |
commit | 6e883c8fa796510e1fe4710a531ed5e8385a6d7c (patch) | |
tree | d01d8f268563bc66c1eebefecb33592b1b445451 | |
parent | d157c5fdcd94aba66fa51713cc589f479a5b6c36 (diff) | |
download | binutils-redhat-6e883c8fa796510e1fe4710a531ed5e8385a6d7c.tar.gz |
When calling getopt_long indicate that the 'd' switch takes an optional
argument, whereas the 'D' switch takes no argument at all.
-rw-r--r-- | gprof/ChangeLog | 6 | ||||
-rw-r--r-- | gprof/gprof.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog index da87637f8b..bc3ae9c64e 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,9 @@ +2000-05-26 Nick Clifton <nickc@cygnus.com> + + * gprof.c (main): When calling getopt_long indicate that the 'd' + switch takes an optional argument, whereas the 'D' switch takes no + argument at all. + 2000-05-26 Alan Modra <alan@linuxcare.com.au> * dep-in.sed: Copy from ../binutils. diff --git a/gprof/gprof.c b/gprof/gprof.c index 0075480ca6..5e47a97cbd 100644 --- a/gprof/gprof.c +++ b/gprof/gprof.c @@ -179,7 +179,7 @@ DEFUN (main, (argc, argv), int argc AND char **argv) xmalloc_set_program_name (whoami); while ((ch = getopt_long (argc, argv, - "aA::bBcCdD::e:E:f:F:hiI:J::k:lLm:n::N::O:p::P::q::Q::st:Tvw:xyzZ::", + "aA::bBcCd::De:E:f:F:hiI:J::k:lLm:n::N::O:p::P::q::Q::st:Tvw:xyzZ::", long_options, 0)) != EOF) { |