summaryrefslogtreecommitdiffstats
path: root/scripts/lib/argparse_oe.py
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:31:13 +0100
commita78e4ade1fc6156bb7d1fef58b80cd8c859a8902 (patch)
treee122e527295466188f4891b5f2122ff34cd70366 /scripts/lib/argparse_oe.py
parent09cbec8947a056e196209d177ac4c22c32699393 (diff)
downloadpoky-a78e4ade1fc6156bb7d1fef58b80cd8c859a8902.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. (From OE-Core rev: 8a1cd471210e5fb77952f28172084bf6a4fb73e8) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/argparse_oe.py')
-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):
14 kwargs.setdefault('formatter_class', OeHelpFormatter) 14 kwargs.setdefault('formatter_class', OeHelpFormatter)
15 self._subparser_groups = OrderedDict() 15 self._subparser_groups = OrderedDict()
16 super(ArgumentParser, self).__init__(*args, **kwargs) 16 super(ArgumentParser, self).__init__(*args, **kwargs)
17 self._positionals.title = 'arguments'
17 self._optionals.title = 'options' 18 self._optionals.title = 'options'
18 19
19 def error(self, message): 20 def error(self, message):