[tip:perf/core] perf help: Add missing subcommand `version`

From: tip-bot for Sangwon Hong
Date: Wed Sep 26 2018 - 04:43:37 EST


Commit-ID: 3b9c25c0a04675c5d8d4390d9d9b661135751b27
Gitweb: https://git.kernel.org/tip/3b9c25c0a04675c5d8d4390d9d9b661135751b27
Author: Sangwon Hong <qpakzk@xxxxxxxxx>
AuthorDate: Wed, 19 Sep 2018 00:49:11 -0700
Committer: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
CommitDate: Wed, 19 Sep 2018 14:53:36 -0300

perf help: Add missing subcommand `version`

There isn't subcommand `version` when typing `perf help`.

Before :

$ perf help | grep version
usage: perf [--version] [--help] [OPTIONS] COMMAND [ARGS]

So add perf-version in command-list.txt for listing it when typing `perf
help`.

After :

$ perf help | grep version

usage: perf [--version] [--help] [OPTIONS] COMMAND [ARGS]
version display the version of perf binary

Signed-off-by: Sangwon Hong <qpakzk@xxxxxxxxx>
Tested-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
Cc: Jin Yao <yao.jin@xxxxxxxxxxxxxxx>
Cc: Jiri Olsa <jolsa@xxxxxxxxxx>
Cc: Namhyung Kim <namhyung@xxxxxxxxxx>
Link: http://lkml.kernel.org/r/20180919074911.41931-1-qpakzk@xxxxxxxxx
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
---
tools/perf/command-list.txt | 1 +
1 file changed, 1 insertion(+)

diff --git a/tools/perf/command-list.txt b/tools/perf/command-list.txt
index 2d0caf20ff3a..bc6c585f74fc 100644
--- a/tools/perf/command-list.txt
+++ b/tools/perf/command-list.txt
@@ -30,3 +30,4 @@ perf-test mainporcelain common
perf-timechart mainporcelain common
perf-top mainporcelain common
perf-trace mainporcelain audit
+perf-version mainporcelain common