Skip to content

Commit ccf0f9f

Browse files
committed
fixup! fixup! kresctl: cache command: output formats for 'clear' operation
1 parent e1dcb82 commit ccf0f9f

File tree

1 file changed

+2
-0
lines changed
  • manager/knot_resolver_manager/cli/cmd

1 file changed

+2
-0
lines changed

manager/knot_resolver_manager/cli/cmd/cache.py

+2
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,15 @@ def register_args_subparser(
7878
const=DataFormat.JSON,
7979
action="store_const",
8080
dest="out_format",
81+
default=DataFormat.YAML,
8182
)
8283
out_format.add_argument(
8384
"--yaml",
8485
help="Set configuration data in YAML format.",
8586
const=DataFormat.YAML,
8687
action="store_const",
8788
dest="out_format",
89+
default=DataFormat.YAML,
8890
)
8991

9092
return cache_parser, CacheCommand

0 commit comments

Comments
 (0)