aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r--tools/perf/builtin-trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c
index 0b65779e3c10..d5d20c34e221 100644
--- a/tools/perf/builtin-trace.c
+++ b/tools/perf/builtin-trace.c
@@ -219,9 +219,9 @@ static int parse_scriptname(const struct option *opt __used,
219 const char *script, *ext; 219 const char *script, *ext;
220 int len; 220 int len;
221 221
222 if (strcmp(str, "list") == 0) { 222 if (strcmp(str, "lang") == 0) {
223 list_available_languages(); 223 list_available_languages();
224 return 0; 224 exit(0);
225 } 225 }
226 226
227 script = strchr(str, ':'); 227 script = strchr(str, ':');