diff options
author | Christopher Larson <chris_larson@mentor.com> | 2016-04-27 16:23:59 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-06 10:30:56 +0100 |
commit | 7fdaaedf4c63c8d019f03f84e22f9b838ef19aa6 (patch) | |
tree | 81f11f77234713010824fec3d1cc205c16c58da1 /meta/recipes-bsp | |
parent | cf0c5175136966eefde8c0d9aa0679e85779f713 (diff) | |
download | openembedded-core-7fdaaedf4c63c8d019f03f84e22f9b838ef19aa6.tar.gz openembedded-core-7fdaaedf4c63c8d019f03f84e22f9b838ef19aa6.tar.bz2 openembedded-core-7fdaaedf4c63c8d019f03f84e22f9b838ef19aa6.zip |
scripts/lib/argparse_oe: show subparser help for unrecognized args
As an example, `recipetool create foo bar baz` shows `recipetool: error:
unrecognized arguments: bar baz` and then displays the main help, not the help
for the create command. Fix by saving the subparser name and using it in
parse_args() to look up the subparser.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp')
0 files changed, 0 insertions, 0 deletions