summaryrefslogtreecommitdiffstats
path: root/scripts/test-dependencies.sh
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2016-04-27 16:23:59 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-06 10:31:13 +0100
commit3e79d54523e348258cc7d9455376429ea57106f2 (patch)
tree1da64324aad040d0abe75071c0a930a6aacbc51e /scripts/test-dependencies.sh
parent55c760bda391f8ac398aa078391a78415dd68a82 (diff)
downloadpoky-3e79d54523e348258cc7d9455376429ea57106f2.tar.gz
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. (From OE-Core rev: 7fdaaedf4c63c8d019f03f84e22f9b838ef19aa6) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/test-dependencies.sh')
0 files changed, 0 insertions, 0 deletions