Skip to content

Commit

Permalink
Add -f shorthand for --format
Browse files Browse the repository at this point in the history
  • Loading branch information
victorbnl authored and mattrobenolt committed Feb 14, 2023
1 parent c2f028d commit c540c4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jinja2cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,6 +414,7 @@ def main():
usage="usage: %prog [options] <input template> <input data>"
)
parser.add_option(
"-f",
"--format",
help=lambda: "format of input variables: %s"
% ", ".join(sorted(list(get_available_formats()))),
Expand Down

0 comments on commit c540c4c

Please sign in to comment.