# 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
<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>
# 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
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";
<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>
<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>
<refentrytitle>ms_print</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo>Release &rel-version;</refmiscinfo>
+ <date>rel-date</date>
</refmeta>
<refnamediv>
<cmdsynopsis>
<command>ms_print</command>
<arg><replaceable>options</replaceable></arg>
- <arg>filename</arg>
+ <arg choice="plain"><replaceable>massif-out-file</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
# 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