kas-container: remove special handling of help sub command
This patch removes the special handling of the -h / --help flag for kas subcommands. By that, the build system detection logic properly works and runs the help command in the kas-isar container for ISAR kas files. While this logically does not make any difference, it avoids to pull the kas OE container for ISAR builds, just to show the help message. Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
This commit is contained in:
parent
6e3a8d9118
commit
b06fe8a0b7
@ -320,13 +320,6 @@ KAS_EXTRA_BITBAKE_ARGS=0
|
|||||||
# parse kas sub-command options
|
# parse kas sub-command options
|
||||||
while [ $# -gt 0 ] && [ $KAS_EXTRA_BITBAKE_ARGS -eq 0 ]; do
|
while [ $# -gt 0 ] && [ $KAS_EXTRA_BITBAKE_ARGS -eq 0 ]; do
|
||||||
case "$1" in
|
case "$1" in
|
||||||
-h|--help)
|
|
||||||
set_container_image_var
|
|
||||||
# SC2086: Double quote to prevent globbing and word splitting.
|
|
||||||
# shellcheck disable=2086
|
|
||||||
trace ${KAS_CONTAINER_COMMAND} run ${KAS_CONTAINER_IMAGE} ${KAS_CMD} --help
|
|
||||||
exit 0
|
|
||||||
;;
|
|
||||||
--skip|--target|--task)
|
--skip|--target|--task)
|
||||||
KAS_OPTIONS="${KAS_OPTIONS} $1 $2"
|
KAS_OPTIONS="${KAS_OPTIONS} $1 $2"
|
||||||
shift 2
|
shift 2
|
||||||
|
Loading…
Reference in New Issue
Block a user