aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2016-04-27 16:24:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-06 10:30:56 +0100
commit8a1cd471210e5fb77952f28172084bf6a4fb73e8 (patch)
tree317ecdc9f75c3db4ad7dad0c841dc1a5c31db2cd
parent408694f4320f3cb52a391e5b927fb8c8ba16c1d2 (diff)
downloadopenembedded-core-contrib-8a1cd471210e5fb77952f28172084bf6a4fb73e8.tar.gz
scripts/lib/argparse_oe: also change 'positional arguments' to 'arguments'
This aligns with our existing 'optional arguments' to 'options' change, and seems more intuitive for users. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--scripts/lib/argparse_oe.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/argparse_oe.py b/scripts/lib/argparse_oe.py
index 2185a66cd8..bf6eb17197 100644
--- a/scripts/lib/argparse_oe.py
+++ b/scripts/lib/argparse_oe.py
@@ -14,6 +14,7 @@ class ArgumentParser(argparse.ArgumentParser):
kwargs.setdefault('formatter_class', OeHelpFormatter)
self._subparser_groups = OrderedDict()
super(ArgumentParser, self).__init__(*args, **kwargs)
+ self._positionals.title = 'arguments'
self._optionals.title = 'options'
def error(self, message):