Re: [PATCH v2] objtool: Print top level commands on incorrect usage

2017-10-18 Thread Josh Poimboeuf
On Sat, Oct 14, 2017 at 08:17:54PM +0530, Kamalesh Babulal wrote: > Print top-level objtool commands, along with the error on incorrect > command line usage. Objtool command line parser exit's with code 129, > for incorrect usage. Convert the cmd_usage() exit code also, to maintain > consistency

Re: [PATCH v2] objtool: Print top level commands on incorrect usage

2017-10-18 Thread Josh Poimboeuf
On Sat, Oct 14, 2017 at 08:17:54PM +0530, Kamalesh Babulal wrote: > Print top-level objtool commands, along with the error on incorrect > command line usage. Objtool command line parser exit's with code 129, > for incorrect usage. Convert the cmd_usage() exit code also, to maintain > consistency

[PATCH v2] objtool: Print top level commands on incorrect usage

2017-10-14 Thread Kamalesh Babulal
Print top-level objtool commands, along with the error on incorrect command line usage. Objtool command line parser exit's with code 129, for incorrect usage. Convert the cmd_usage() exit code also, to maintain consistency across objtool. After the patch: $ ./objtool -j Unknown option: -j

[PATCH v2] objtool: Print top level commands on incorrect usage

2017-10-14 Thread Kamalesh Babulal
Print top-level objtool commands, along with the error on incorrect command line usage. Objtool command line parser exit's with code 129, for incorrect usage. Convert the cmd_usage() exit code also, to maintain consistency across objtool. After the patch: $ ./objtool -j Unknown option: -j