summaryrefslogtreecommitdiff
path: root/gprof
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2006-10-17 04:45:32 +0000
committerBob Wilson <bob.wilson@acm.org>2006-10-17 04:45:32 +0000
commit263e594b90e5da18915d1b3b3fd5d5e1889d3b19 (patch)
tree9f95fa138bd8b4e4d566c68b20bf487698022e57 /gprof
parent56a8fe780f55008f1b5e53f8c8eaddb584e1d0ec (diff)
downloadbinutils-gdb-263e594b90e5da18915d1b3b3fd5d5e1889d3b19.tar.gz
* gprof.c (main): Fix option string for -C, -n and -N.
Diffstat (limited to 'gprof')
-rw-r--r--gprof/ChangeLog4
-rw-r--r--gprof/gprof.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gprof/ChangeLog b/gprof/ChangeLog
index ebaa99318b2..336ef072489 100644
--- a/gprof/ChangeLog
+++ b/gprof/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-16 Bob Wilson <bob.wilson@acm.org>
+
+ * gprof.c (main): Fix option string for -C, -n and -N.
+
2006-09-26 Thiemo Seufer <ths@networkno.de>
* gprof.texi: Fix install failure.
diff --git a/gprof/gprof.c b/gprof/gprof.c
index b2d6bafdef1..92468ad5abd 100644
--- a/gprof/gprof.c
+++ b/gprof/gprof.c
@@ -200,7 +200,7 @@ main (int argc, char **argv)
expandargv (&argc, &argv);
while ((ch = getopt_long (argc, argv,
- "aA::bBcCd::De:E:f:F:hiI:J::k:lLm:n::N::O:p::P::q::Q::st:Tvw:xyzZ::",
+ "aA::bBcC::d::De:E:f:F:hiI:J::k:lLm:n:N:O:p::P::q::Q::st:Tvw:xyzZ::",
long_options, 0))
!= EOF)
{