[PATCH v5 1/9] bitbake-setup: Add version option
Rob Woolley <[email protected]> Wed, 8 Jul 2026 19:03:33 -0700
| Newsgroups | org.openembedded.lists.bitbake-devel |
|---|---|
| Message-ID | <[email protected]> |
This adds the long-form version option to match bitbake. Signed-off-by: Rob Woolley <[email protected]> --- bin/bitbake-setup | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/bitbake-setup b/bin/bitbake-setup index b81d3ad11..d105fb43d 100755 --- a/bin/bitbake-setup +++ b/bin/bitbake-setup @@ -1250,6 +1250,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.') -- 2.49.0