Skip to content

Commit c540c4c

Browse files
Victor Bonnellemattrobenolt
authored andcommitted
Add -f shorthand for --format
1 parent c2f028d commit c540c4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jinja2cli/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ def main():
414414
usage="usage: %prog [options] <input template> <input data>"
415415
)
416416
parser.add_option(
417+
"-f",
417418
"--format",
418419
help=lambda: "format of input variables: %s"
419420
% ", ".join(sorted(list(get_available_formats()))),

0 commit comments

Comments
 (0)