From: Nicholas Nethercote Date: Wed, 19 Oct 2005 22:39:40 +0000 (+0000) Subject: Make the usage message a little neater and more self-consistent. X-Git-Tag: svn/VALGRIND_3_1_0~284 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f2ec4febfe6a109aed88a0a5b8cbc0e8a2f8cba3;p=thirdparty%2Fvalgrind.git Make the usage message a little neater and more self-consistent. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4948 --- diff --git a/coregrind/m_main.c b/coregrind/m_main.c index 2cc1e4a470..f9ea6c74b6 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -894,7 +894,7 @@ static void usage_NORETURN ( Bool debug_help ) " --xml=yes all output is in XML (Memcheck/Nulgrind only)\n" " --xml-user-comment=STR copy STR verbatim to XML output\n" " --demangle=no|yes automatically demangle C++ names? [yes]\n" -" --num-callers= show callers in stack traces [12]\n" +" --num-callers= show callers in stack traces [12]\n" " --error-limit=no|yes stop showing new errors if too many? [yes]\n" " --show-below-main=no|yes continue stack traces below main() [no]\n" " --suppressions= suppress errors described in \n" @@ -913,7 +913,7 @@ static void usage_NORETURN ( Bool debug_help ) " --profile=no|yes profile? (tool must be built for it) [no]\n" " --trace-flags= show generated code? (X = 0|1) [00000000]\n" " --profile-flags= ditto, but for profiling (X = 0|1) [00000000]\n" -" --trace-notbelow= only show BBs above [0]\n" +" --trace-notbelow= only show BBs above [0]\n" " --trace-syscalls=no|yes show all system calls? [no]\n" " --trace-signals=no|yes show signal handling details? [no]\n" " --trace-symtab=no|yes show symbol table details? [no]\n" diff --git a/memcheck/mc_main.c b/memcheck/mc_main.c index bfc79e3c60..96ce84d001 100644 --- a/memcheck/mc_main.c +++ b/memcheck/mc_main.c @@ -2269,7 +2269,7 @@ static void mc_print_usage(void) { MAC_(print_common_usage)(); VG_(printf)( -" --avoid-strlen-errors=no|yes suppress errs from inlined strlen [yes]\n" +" --avoid-strlen-errors=no|yes suppress errs from inlined strlen [yes]\n" ); } diff --git a/none/tests/cmdline1.stdout.exp b/none/tests/cmdline1.stdout.exp index 939c093bff..5ce37a323f 100644 --- a/none/tests/cmdline1.stdout.exp +++ b/none/tests/cmdline1.stdout.exp @@ -29,7 +29,7 @@ usage: valgrind --tool= [options] prog-and-args --xml=yes all output is in XML (Memcheck/Nulgrind only) --xml-user-comment=STR copy STR verbatim to XML output --demangle=no|yes automatically demangle C++ names? [yes] - --num-callers= show callers in stack traces [12] + --num-callers= show callers in stack traces [12] --error-limit=no|yes stop showing new errors if too many? [yes] --show-below-main=no|yes continue stack traces below main() [no] --suppressions= suppress errors described in diff --git a/none/tests/cmdline2.stdout.exp b/none/tests/cmdline2.stdout.exp index a14ca310f4..896eefade0 100644 --- a/none/tests/cmdline2.stdout.exp +++ b/none/tests/cmdline2.stdout.exp @@ -29,7 +29,7 @@ usage: valgrind --tool= [options] prog-and-args --xml=yes all output is in XML (Memcheck/Nulgrind only) --xml-user-comment=STR copy STR verbatim to XML output --demangle=no|yes automatically demangle C++ names? [yes] - --num-callers= show callers in stack traces [12] + --num-callers= show callers in stack traces [12] --error-limit=no|yes stop showing new errors if too many? [yes] --show-below-main=no|yes continue stack traces below main() [no] --suppressions= suppress errors described in @@ -48,7 +48,7 @@ usage: valgrind --tool= [options] prog-and-args --profile=no|yes profile? (tool must be built for it) [no] --trace-flags= show generated code? (X = 0|1) [00000000] --profile-flags= ditto, but for profiling (X = 0|1) [00000000] - --trace-notbelow= only show BBs above [0] + --trace-notbelow= only show BBs above [0] --trace-syscalls=no|yes show all system calls? [no] --trace-signals=no|yes show signal handling details? [no] --trace-symtab=no|yes show symbol table details? [no]