Skip to content

Commit

Permalink
perf_counter tools: Tidy up manpage details
Browse files Browse the repository at this point in the history
Also fix a misalignment in usage string printing.

Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Jun 6, 2009
1 parent 502fc5c commit 6e6b754
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Documentation/perf_counter/Documentation/perf-help.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
perf-help(1)
===========
============

NAME
----
Expand Down
4 changes: 2 additions & 2 deletions Documentation/perf_counter/Documentation/perf-list.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
perf-list(1)
==============
============

NAME
----
Expand All @@ -8,7 +8,7 @@ perf-list - List all symbolic event types
SYNOPSIS
--------
[verse]
'perf list
'perf list'

DESCRIPTION
-----------
Expand Down
2 changes: 1 addition & 1 deletion Documentation/perf_counter/Documentation/perf-stat.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
perf-stat(1)
==========
============

NAME
----
Expand Down
2 changes: 1 addition & 1 deletion Documentation/perf_counter/Documentation/perf-top.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
perf-top(1)
==========
===========

NAME
----
Expand Down
2 changes: 1 addition & 1 deletion Documentation/perf_counter/util/parse-options.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ int usage_with_options_internal(const char * const *usagestr,

fprintf(stderr, "\n usage: %s\n", *usagestr++);
while (*usagestr && **usagestr)
fprintf(stderr, " or: %s\n", *usagestr++);
fprintf(stderr, " or: %s\n", *usagestr++);
while (*usagestr) {
fprintf(stderr, "%s%s\n",
**usagestr ? " " : "",
Expand Down

0 comments on commit 6e6b754

Please sign in to comment.