generic-poky/scripts/contrib
Paul Eggleton b41b2fa4dd scripts: ensure not specifying subcommand shows help text
With Python 2, argparse subparsers behaviour in Python 2 was to print
the usage information if the subparsers argument wasn't specified.
However, with Python 3.2.3 and later a subparsers argument is not
required by default, leading to errors when no arguments are specified:

  AttributeError: 'Namespace' object has no attribute 'func'

Restore the previous desired behaviour of showing the help text for
devtool, recipetool and the devtool-stress script by setting
subparsers.required to True.

(From OE-Core rev: d36fdea1a7f32d97187e0e9e6d701ae8fa304e8f)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-06-15 08:35:01 +01:00
..
bb-perf buildstats: Outputs 'task recipe elapsed-time' from each buildstats' recipe 2015-09-12 22:48:30 +01:00
python scripts: Rename ConfigParser -> configparser for python3 2016-06-02 08:24:01 +01:00
bbvars.py scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
build-perf-test.sh build-perf-test: add eSDK installed size to metrics 2016-04-09 23:00:45 +01:00
ddimage ddimage: if 'pv' is installed, use it 2016-05-06 10:31:15 +01:00
devtool-stress.py scripts: ensure not specifying subcommand shows help text 2016-06-15 08:35:01 +01:00
dialog-power-control scripts/contrib/dialog-power-control: add a trivial power prompt script 2014-04-30 21:52:33 +01:00
documentation-audit.sh documentation-audit.sh: Add/fix checks for skipped lines. 2012-12-13 15:18:42 +00:00
graph-tool scripts/contrib: Add graph-tool 2013-12-18 11:21:27 +00:00
list-packageconfig-flags.py scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00
mkefidisk.sh mkefidisk.sh: mount images as read-only 2016-05-19 09:05:18 +01:00
serdevtry scripts/contrib/serdevtry: add script to handle transient serial terminals 2014-04-30 21:52:32 +01:00
test_build_time.sh scripts/contrib: add build time regression test script 2011-07-20 15:27:31 +01:00
test_build_time_worker.sh scripts/contrib: add build time regression test script 2011-07-20 15:27:31 +01:00
verify-homepage.py scripts: python3: change python to python3 in shebang 2016-06-03 13:13:29 +01:00