From 53596eaf4a89c177067e88acf5c7b8b7946a9718 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 27 Mar 2010 07:38:39 +0000 Subject: [PATCH] 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 --- coregrind/m_main.c | 2 +- none/tests/cmdline1.stdout.exp | 2 +- none/tests/cmdline2.stdout.exp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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] -- 2.47.2