From a799cbe2740f55a797085b0c67b69eaae6745940 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 26 May 2000 21:11:33 +0000 Subject: When calling getopt_long indicate that the 'd' switch takes an optional argument, whereas the 'D' switch takes no argument at all. --- gprof/ChangeLog | 6 ++++++ gprof/gprof.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'gprof') diff --git a/gprof/ChangeLog b/gprof/ChangeLog index da87637..bc3ae9c 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,3 +1,9 @@ +2000-05-26 Nick Clifton + + * 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 * dep-in.sed: Copy from ../binutils. diff --git a/gprof/gprof.c b/gprof/gprof.c index 0075480..5e47a97 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) { -- cgit v1.1