From: Nicholas Nethercote Date: Tue, 2 Dec 2003 10:41:18 +0000 (+0000) Subject: Grouped options in the usage message so they're a bit easier to understand. X-Git-Tag: svn/VALGRIND_2_1_0~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=284fcf8754e0a8bb3a4ed8f5a930ec24782ce8da;p=thirdparty%2Fvalgrind.git Grouped options in the usage message so they're a bit easier to understand. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2084 --- diff --git a/coregrind/vg_main.c b/coregrind/vg_main.c index a28f7f0194..91c0d1199e 100644 --- a/coregrind/vg_main.c +++ b/coregrind/vg_main.c @@ -636,21 +636,31 @@ static void usage ( void ) Char* usage1 = "usage: valgrind [options] prog-and-args\n" "\n" -" core user options, with defaults in [ ], are:\n" +" common user options for all Valgrind tools, with defaults in [ ]:\n" " --tool= Use the Valgrind tool named [memcheck]\n" - " --help show this message\n" " --version show version\n" - " -q --quiet run silently; only print error msgs\n" " -v --verbose be more verbose, incl counts of errors\n" - " --trace-children=no|yes Valgrind-ise child processes? [no]\n" - +" --track-fds=no|yes Track open file descriptors? [no]\n" +"\n" +" uncommon user options for all Valgrind tools:\n" +" --run-libc-freeres=no|yes Free up glibc memory at exit? [yes]\n" +" --weird-hacks=hack1,hack2,... [none]\n" +" recognised hacks are: ioctl-VTIME truncate-writes lax-ioctls\n" +" --signal-polltime=