perf tools: Add '\n' at the end of parse-options error messages
authorRavi Bangoria <[email protected]>
Tue, 17 Apr 2018 04:13:44 +0000 (09:43 +0530)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 18 Apr 2018 18:35:51 +0000 (15:35 -0300)
commit66f5a0779af2a4f28b1832f6c20bc9d3b1ab1886
tree86196421cfd148f904bc39b450148ef0a7c49618
parentccbb6afe0890b09cc828373a9a5fffab40ec85df
perf tools: Add '\n' at the end of parse-options error messages

Few error messages does not have '\n' at the end and thus next prompt
gets printed in the same line. Ex,

  linux~$ perf buildid-cache -verbose --add ./a.out
   Error: did you mean `--verbose` (with two dashes ?)linux~$

Fix it.

Signed-off-by: Ravi Bangoria <[email protected]>
Reviewed-by: Masami Hiramatsu <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Kate Stewart <[email protected]>
Cc: Krister Johansen <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Philippe Ombredanne <[email protected]>
Cc: Sihyeon Jang <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/lib/subcmd/parse-options.c