|
From: <sv...@va...> - 2009-08-09 23:27:10
|
Author: njn
Date: 2009-08-10 00:27:00 +0100 (Mon, 10 Aug 2009)
New Revision: 10756
Log:
Make usage messages given by -h and man pages consistent for the scripts.
Modified:
trunk/cachegrind/cg_annotate.in
trunk/cachegrind/docs/cg_annotate-manpage.xml
trunk/callgrind/callgrind_annotate.in
trunk/callgrind/callgrind_control.in
trunk/callgrind/docs/callgrind_annotate-manpage.xml
trunk/callgrind/docs/callgrind_control-manpage.xml
trunk/massif/docs/ms_print-manpage.xml
trunk/massif/ms_print.in
Modified: trunk/cachegrind/cg_annotate.in
===================================================================
--- trunk/cachegrind/cg_annotate.in 2009-08-08 07:38:25 UTC (rev 10755)
+++ trunk/cachegrind/cg_annotate.in 2009-08-09 23:27:00 UTC (rev 10756)
@@ -142,7 +142,7 @@
# Usage message.
my $usage = <<END
-usage: cg_annotate [options] output-file [source-files]
+usage: cg_annotate [options] cachegrind-out-file [source-files...]
options for the user, with defaults in [ ], are:
-h --help show this message
Modified: trunk/cachegrind/docs/cg_annotate-manpage.xml
===================================================================
--- trunk/cachegrind/docs/cg_annotate-manpage.xml 2009-08-08 07:38:25 UTC (rev 10755)
+++ trunk/cachegrind/docs/cg_annotate-manpage.xml 2009-08-09 23:27:00 UTC (rev 10756)
@@ -21,7 +21,8 @@
<cmdsynopsis>
<command>cg_annotate</command>
<arg><replaceable>options</replaceable></arg>
- <arg>filename</arg>
+ <arg choice="plain"><replaceable>cachegrind-out-file</replaceable></arg>
+ <arg choice="opt" rep="repeat"><replaceable>source-files</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
Modified: trunk/callgrind/callgrind_annotate.in
===================================================================
--- trunk/callgrind/callgrind_annotate.in 2009-08-08 07:38:25 UTC (rev 10755)
+++ trunk/callgrind/callgrind_annotate.in 2009-08-09 23:27:00 UTC (rev 10756)
@@ -196,7 +196,7 @@
# Usage message.
my $usage = <<END
-usage: callgrind_annotate [options] [data-file [source-files]]
+usage: callgrind_annotate [options] [callgrind-out-file [source-files...]]
options for the user, with defaults in [ ], are:
-h --help show this message
Modified: trunk/callgrind/callgrind_control.in
===================================================================
--- trunk/callgrind/callgrind_control.in 2009-08-08 07:38:25 UTC (rev 10755)
+++ trunk/callgrind/callgrind_control.in 2009-08-09 23:27:00 UTC (rev 10756)
@@ -84,7 +84,7 @@
sub printHelp {
printHeader;
- print "Usage: callgrind_control [options] [<pid>|<name> ...]\n\n";
+ print "Usage: callgrind_control [options] [pid|program-name...]\n\n";
print "If no pids/names are given, an action is applied to all currently\n";
print "active Callgrind runs. Default action is printing short information.\n\n";
print "Options:\n";
Modified: trunk/callgrind/docs/callgrind_annotate-manpage.xml
===================================================================
--- trunk/callgrind/docs/callgrind_annotate-manpage.xml 2009-08-08 07:38:25 UTC (rev 10755)
+++ trunk/callgrind/docs/callgrind_annotate-manpage.xml 2009-08-09 23:27:00 UTC (rev 10756)
@@ -21,7 +21,9 @@
<cmdsynopsis>
<command>callgrind_annotate</command>
<arg choice="opt"><replaceable>options</replaceable></arg>
- <arg choice="opt"><replaceable>source-files</replaceable></arg>
+ <!-- note the deliberate <arg> nesting here -->
+ <arg choice="opt"><replaceable>callgrind-out-file</replaceable>
+ <arg choice="opt" rep="repeat"><replaceable>source-files</replaceable></arg></arg>
</cmdsynopsis>
</refsynopsisdiv>
Modified: trunk/callgrind/docs/callgrind_control-manpage.xml
===================================================================
--- trunk/callgrind/docs/callgrind_control-manpage.xml 2009-08-08 07:38:25 UTC (rev 10755)
+++ trunk/callgrind/docs/callgrind_control-manpage.xml 2009-08-09 23:27:00 UTC (rev 10756)
@@ -20,7 +20,7 @@
<cmdsynopsis>
<command>callgrind_control</command>
<arg choice="opt"><replaceable>options</replaceable></arg>
- <arg choice="opt" rep="repeat"><replaceable>pid/program-name</replaceable></arg>
+ <arg choice="opt" rep="repeat"><replaceable>pid|program-name</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
Modified: trunk/massif/docs/ms_print-manpage.xml
===================================================================
--- trunk/massif/docs/ms_print-manpage.xml 2009-08-08 07:38:25 UTC (rev 10755)
+++ trunk/massif/docs/ms_print-manpage.xml 2009-08-09 23:27:00 UTC (rev 10756)
@@ -10,6 +10,7 @@
<refentrytitle>ms_print</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo>Release &rel-version;</refmiscinfo>
+ <date>rel-date</date>
</refmeta>
<refnamediv>
@@ -21,7 +22,7 @@
<cmdsynopsis>
<command>ms_print</command>
<arg><replaceable>options</replaceable></arg>
- <arg>filename</arg>
+ <arg choice="plain"><replaceable>massif-out-file</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
Modified: trunk/massif/ms_print.in
===================================================================
--- trunk/massif/ms_print.in 2009-08-08 07:38:25 UTC (rev 10755)
+++ trunk/massif/ms_print.in 2009-08-09 23:27:00 UTC (rev 10756)
@@ -62,7 +62,7 @@
# Usage message.
my $usage = <<END
-usage: ms_print [options] <file>
+usage: ms_print [options] massif-out-file
options for the user, with defaults in [ ], are:
-h --help show this message
|