generic-poky/scripts/lib
Paul Eggleton 8e0a84c901 scripts: print usage in argparse-using scripts when a command-line error occurs
For scripts that use Python's standard argparse module to parse
command-line arguments, create a subclass which will show the usage
the usage information when a command-line parsing error occurs. The most
common case would be when the script is run with no arguments; at least
then the user immediately gets to see what arguments they might need to
pass instead of just an error message.

(From OE-Core rev: d62fe7c9bc2df6a4464440a3cae0539074bf99aa)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-12-28 09:25:12 +00:00
..
bsp yocto-bsp: Set SRCREV meta/machine revisions to AUTOREV 2015-11-25 07:45:21 +00:00
devtool devtool: sdk-update: fix traceback without update server set 2015-12-28 09:25:12 +00:00
recipetool recipetool: make plugin registration function name consistent with devtool 2015-12-01 21:32:05 +00:00
wic wic/help.py: document that mountpoint is optional for part command 2015-12-22 16:08:51 +00:00
argparse_oe.py scripts: print usage in argparse-using scripts when a command-line error occurs 2015-12-28 09:25:12 +00:00
scriptpath.py scripts: consolidate code to find bitbake path 2014-06-25 13:51:45 +01:00
scriptutils.py scripts: print usage in argparse-using scripts when a command-line error occurs 2015-12-28 09:25:12 +00:00