]> git.baikalelectronics.ru Git - kernel.git/commit
perf tools: Show tool command line options ordered
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 23 Oct 2015 14:23:28 +0000 (11:23 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 24 Oct 2015 00:50:49 +0000 (21:50 -0300)
commit2e2f462b323f696368da5bbc8fc83383e756bdf1
tree26c0a7dfbb52c39cb8bf48599840f7b30003a691
parenta6f9e5289d9ce29c1fe7f062f0b613a0489be429
perf tools: Show tool command line options ordered

When asking for a listing of the options, be it using -h or when an
unknown option is passed, order it by one-letter options, then the ones
having just long names.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Brendan Gregg <brendan.d.gregg@gmail.com>
Cc: Chandler Carruth <chandlerc@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-41qh68t35n4ehrpsuazp1dx8@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-options.c