Skip to content

Commit d88f622

Browse files
fmoessbauerjan-kiszka
authored andcommitted
kas-container: handle format and indent options
All kas options that take a parameter need to be handled in kas-container as well. The dump --format and --indent arguments were not handled, which broke the container invocation. We now handle them. Fixes: 5b3e238 ("add plugin to dump flattened config") Fixes: 7c0953c ("dump plugin: add option to create lockfile") Signed-off-by: Felix Moessbauer <[email protected]> Signed-off-by: Jan Kiszka <[email protected]>
1 parent 597a2ef commit d88f622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kas-container

+1-1
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ KAS_EXTRA_BITBAKE_ARGS=0
414414
# parse kas sub-command options
415415
while [ $# -gt 0 ] && [ $KAS_EXTRA_BITBAKE_ARGS -eq 0 ]; do
416416
case "$1" in
417-
--provenance|--skip|--target|--task)
417+
--format|--indent|--provenance|--skip|--target|--task)
418418
KAS_OPTIONS="${KAS_OPTIONS} $1 $2"
419419
shift 1
420420
shift 1 || KAS_OPTIONS="--help"

0 commit comments

Comments
 (0)