Skip to content

Commit 04405b4

Browse files
committed
refact: show more human readable help for format options
Even using StrEnum, while it worked, when showing the help for this option it was showing the repr() of the instances, not the value.
1 parent 518068b commit 04405b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/zxbc/args_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def parser() -> argparse.ArgumentParser:
8686
"-f",
8787
"--output-format",
8888
type=str,
89-
choices=FileType,
89+
choices=[str(x) for x in FileType],
9090
required=False,
9191
help="Output format",
9292
)

0 commit comments

Comments
 (0)