[PATCH] perf kallsyms: Fix the usage on the man page

From: Sangwon Hong
Date: Sun Feb 11 2018 - 14:38:43 EST


First, all man pages highlight only perf and subcommands except perf
kallsyms, which includes the full usage. Fix it for commands to monopolize
underlines.

Second, options can skip when executing perf kallsyms, so add square
brackets between <option>.

Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Cc: Taeung Song <treeze.taeung@xxxxxxxxx>
Signed-off-by: Sangwon Hong <qpakzk@xxxxxxxxx>
---
tools/perf/Documentation/perf-kallsyms.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/Documentation/perf-kallsyms.txt b/tools/perf/Documentation/perf-kallsyms.txt
index 954ea9e..cf9f404 100644
--- a/tools/perf/Documentation/perf-kallsyms.txt
+++ b/tools/perf/Documentation/perf-kallsyms.txt
@@ -8,7 +8,7 @@ perf-kallsyms - Searches running kernel for symbols
SYNOPSIS
--------
[verse]
-'perf kallsyms <options> symbol_name[,symbol_name...]'
+'perf kallsyms' [<options>] symbol_name[,symbol_name...]

DESCRIPTION
-----------
--
2.7.4