perf tools: Exit browser before printing usage when unkown option passed
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 22 Mar 2010 16:10:29 +0000 (13:10 -0300)
committerIngo Molnar <mingo@elte.hu>
Mon, 22 Mar 2010 17:47:36 +0000 (18:47 +0100)
commit478b0973bf8c90db3677fbb8d812e2bdefc43d9b
tree73123485898d3a2a2a5c18dba3957a3004ddb541
parent084ab9f862416b2ddb4bb9804884de19bf09774d
perf tools: Exit browser before printing usage when unkown option passed

If not the screen will get garbled when using newt.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1269274229-20442-5-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/parse-options.c