From: Bart Van Assche Date: Sat, 27 Mar 2010 07:38:39 +0000 (+0000) Subject: The help text printed by command-line option -h does now show the default X-Git-Tag: svn/VALGRIND_3_6_0~327 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53596eaf4a89c177067e88acf5c7b8b7946a9718;p=thirdparty%2Fvalgrind.git The help text printed by command-line option -h does now show the default value for option --read-var-info. Fixes bug #231458. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11097 --- diff --git a/coregrind/m_main.c b/coregrind/m_main.c index b6b495e2db..6724273e0f 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -161,7 +161,7 @@ static void usage_NORETURN ( Bool debug_help ) " --read-var-info=yes|no read debug info on stack and global variables\n" " and use it to print better error messages in\n" " tools that make use of it (Memcheck, Helgrind,\n" -" DRD)\n" +" DRD) [no]\n" " --run-libc-freeres=no|yes free up glibc memory at exit on Linux? [yes]\n" " --sim-hints=hint1,hint2,... known hints:\n" " lax-ioctls, enable-outer [none]\n" diff --git a/none/tests/cmdline1.stdout.exp b/none/tests/cmdline1.stdout.exp index 903f72fbca..d17677b18f 100644 --- a/none/tests/cmdline1.stdout.exp +++ b/none/tests/cmdline1.stdout.exp @@ -50,7 +50,7 @@ usage: valgrind [options] prog-and-args --read-var-info=yes|no read debug info on stack and global variables and use it to print better error messages in tools that make use of it (Memcheck, Helgrind, - DRD) + DRD) [no] --run-libc-freeres=no|yes free up glibc memory at exit on Linux? [yes] --sim-hints=hint1,hint2,... known hints: lax-ioctls, enable-outer [none] diff --git a/none/tests/cmdline2.stdout.exp b/none/tests/cmdline2.stdout.exp index 9a31362275..b3c438764e 100644 --- a/none/tests/cmdline2.stdout.exp +++ b/none/tests/cmdline2.stdout.exp @@ -50,7 +50,7 @@ usage: valgrind [options] prog-and-args --read-var-info=yes|no read debug info on stack and global variables and use it to print better error messages in tools that make use of it (Memcheck, Helgrind, - DRD) + DRD) [no] --run-libc-freeres=no|yes free up glibc memory at exit on Linux? [yes] --sim-hints=hint1,hint2,... known hints: lax-ioctls, enable-outer [none]