poky/bitbake/bin
Johannes Schneider 7320e59aec bitbake: bitbake-setup: commandline: use subsubparser for settings {list,set,unset}
Previously the sub-command 'settings' would take any number of
arguments and then silently do nothing if the number wasn't three.

The help text was also not clear about this, marking the positionals
separately as optional:

usage: bitbake-setup settings [-h] [--global] [--unset UNSET UNSET] [-l] [section] [key] [value]

The '--unset SECTION SETTING' also did not  integrate too well, as it
had its own positional arguments for section+setting.

For a bit more consistency and a explorable help, a sub-subparser is
added, that provides the commands:
  bitbake-setup settings list
  bitbake-setup settings set foo bar baz
  bitbake-setup settings unset foo bar
with a '--global' that is added from a stand-alone parent parser, so
that it shows up in all sub-command help texts.

The new help text now reads:
usage: bitbake-setup settings [-h] [--global] {list,set,unset} ...

and the respective sub commands:
usage: bitbake-setup settings list [-h] [--global]
usage: bitbake-setup settings set [-h] [--global] <section> <setting> <value>
usage: bitbake-setup settings unset [-h] [--global] <section> <setting>

(Bitbake rev: 8b582ef8dd0cef0192d4c0104bcd9b5d642d132c)

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2025-10-14 11:24:57 +01:00
..
bitbake bitbake: bitbake: Update version to 2.15.2 2025-08-12 10:05:11 +01:00
bitbake-config-build bitbake: bitbake-config-build: add an alias to bitbake-layers 2024-12-13 11:11:18 +00:00
bitbake-diffsigs bitbake: bitbake-diffsigs: fix handling when finding only a single sigfile 2024-07-02 22:29:27 +01:00
bitbake-dumpsig bitbake: bitbake-diffsigs: Merge with bitbake-dumpsig 2019-01-03 12:36:55 +00:00
bitbake-getvar bitbake: bitbake-getvar: skip info output of bitbake for quiet 2025-06-16 22:23:18 +01:00
bitbake-hashclient bitbake: hashserv: Add gc-mark-stream command for batch hash marking 2025-03-13 16:52:44 +00:00
bitbake-hashserv bitbake: hashserv: server: Add support for SO_REUSEPORT 2024-05-30 07:38:10 +01:00
bitbake-layers bitbake: bitbake-config-build: add an alias to bitbake-layers 2024-12-13 11:11:18 +00:00
bitbake-prserv bitbake: bitbake-prserver: use PRSERV_UPSTREAM as default setting 2024-10-11 12:17:36 +01:00
bitbake-selftest bitbake: bitbake-setup: add tests to bitbake-selftest 2025-10-14 11:24:57 +01:00
bitbake-server bitbake: main: Add an option to specify what to profile 2025-07-17 10:45:57 +01:00
bitbake-setup bitbake: bitbake-setup: commandline: use subsubparser for settings {list,set,unset} 2025-10-14 11:24:57 +01:00
bitbake-worker bitbake: utils: Refactor filemode variable conversion to a function 2025-07-01 08:49:37 +01:00
git-make-shallow bitbake: bin/git-make-shallow: Fix syntax to work with older git versions 2025-01-10 09:10:06 +00:00
toaster bitbake: toaster: Write logs to BUILDDIR/toaster_logs 2023-10-27 08:32:29 +01:00
toaster-eventreplay bitbake: toaster: Added new feature to import eventlogs from command line into toaster using replay functionality 2023-12-12 15:58:57 +00:00