@@ -1064,6 +1064,7 @@ def main():
)
parser.add_argument('-d', '--debug', help='Enable debug output', action='store_true')
parser.add_argument('-q', '--quiet', help='Print only errors', action='store_true')
+ parser.add_argument('--version', action='version', version='%(prog)s ' + __version__)
parser.add_argument('--color', choices=['auto', 'always', 'never'], default='auto', help='Colorize output (where %(metavar)s is %(choices)s)', metavar='COLOR')
parser.add_argument('--no-network', action='store_true', help='Do not check whether configuration repositories and layer repositories have been updated; use only the local cache.')
parser.add_argument('--global-settings', action='store', metavar='PATH', help='Path to the global settings file.')
This adds the long-form version option to match bitbake. Signed-off-by: Rob Woolley <rob.woolley@windriver.com> --- bin/bitbake-setup | 1 + 1 file changed, 1 insertion(+)