|
From: <sv...@va...> - 2005-11-12 18:53:53
|
Author: njn
Date: 2005-11-12 18:53:50 +0000 (Sat, 12 Nov 2005)
New Revision: 5100
Log:
Don't imply that the --tool option is mandatory.
Modified:
trunk/coregrind/m_main.c
trunk/docs/xml/manual-core.xml
trunk/none/tests/cmdline1.stdout.exp
trunk/none/tests/cmdline2.stdout.exp
Modified: trunk/coregrind/m_main.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_main.c 2005-11-12 18:21:40 UTC (rev 5099)
+++ trunk/coregrind/m_main.c 2005-11-12 18:53:50 UTC (rev 5100)
@@ -859,7 +859,7 @@
static void usage_NORETURN ( Bool debug_help )
{
Char* usage1 =3D=20
-"usage: valgrind --tool=3D<toolname> [options] prog-and-args\n"
+"usage: valgrind [options] prog-and-args\n"
"\n"
" common user options for all Valgrind tools, with defaults in [ ]:\n"
" --tool=3D<name> use the Valgrind tool named <name> [mem=
check]\n"
Modified: trunk/docs/xml/manual-core.xml
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/docs/xml/manual-core.xml 2005-11-12 18:21:40 UTC (rev 5099)
+++ trunk/docs/xml/manual-core.xml 2005-11-12 18:53:50 UTC (rev 5100)
@@ -561,7 +561,7 @@
<para>You invoke Valgrind like this:</para>
=20
<programlisting><![CDATA[
-valgrind --tool=3D<emphasis>tool_name</emphasis> [valgrind-options] your=
-prog [your-prog options]]]></programlisting>
+valgrind [valgrind-options] your-prog [your-prog options]]]></programlis=
ting>
=20
<para>Valgrind's default settings succeed in giving reasonable
behaviour in most cases. We group the available options by rough
@@ -573,7 +573,8 @@
<para>The single most important option.</para>
<itemizedlist>
<listitem id=3D"tool_name">
- <para><computeroutput>--tool=3Dname</computeroutput></para>
+ <para><computeroutput>--tool=3D<name></computeroutput>
+ [default=3Dmemcheck]</para>
<para>Run the Valgrind tool called <emphasis>name</emphasis>,
e.g. Memcheck, Addrcheck, Cachegrind, etc.</para>
</listitem>
Modified: trunk/none/tests/cmdline1.stdout.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/none/tests/cmdline1.stdout.exp 2005-11-12 18:21:40 UTC (rev 509=
9)
+++ trunk/none/tests/cmdline1.stdout.exp 2005-11-12 18:53:50 UTC (rev 510=
0)
@@ -1,4 +1,4 @@
-usage: valgrind --tool=3D<toolname> [options] prog-and-args
+usage: valgrind [options] prog-and-args
=20
common user options for all Valgrind tools, with defaults in [ ]:
--tool=3D<name> use the Valgrind tool named <name> [memc=
heck]
Modified: trunk/none/tests/cmdline2.stdout.exp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/none/tests/cmdline2.stdout.exp 2005-11-12 18:21:40 UTC (rev 509=
9)
+++ trunk/none/tests/cmdline2.stdout.exp 2005-11-12 18:53:50 UTC (rev 510=
0)
@@ -1,4 +1,4 @@
-usage: valgrind --tool=3D<toolname> [options] prog-and-args
+usage: valgrind [options] prog-and-args
=20
common user options for all Valgrind tools, with defaults in [ ]:
--tool=3D<name> use the Valgrind tool named <name> [memc=
heck]
|