'-f' must now always be specified as '--fmt', refs #194

This commit is contained in:
Simon Willison 2020-11-06 16:17:15 -08:00
commit 309ae84336
3 changed files with 2 additions and 3 deletions

View file

@ -50,7 +50,6 @@ def output_options(fn):
click.option("--no-headers", is_flag=True, help="Omit CSV headers"),
click.option("-t", "--table", is_flag=True, help="Output as a table"),
click.option(
"-f",
"--fmt",
help="Table format - one of {}".format(
", ".join(tabulate.tabulate_formats)