From 3cdf24a5f34c426f20103764ccd08656d7453072 Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Mon, 10 Jul 2023 10:52:33 +0200 Subject: [PATCH] fix(exporter): Default to toml as default format --- mastodon_blocklist_deploy/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon_blocklist_deploy/cli.py b/mastodon_blocklist_deploy/cli.py index 217d9ca..6c87248 100644 --- a/mastodon_blocklist_deploy/cli.py +++ b/mastodon_blocklist_deploy/cli.py @@ -103,7 +103,7 @@ def cli(): parser.add_argument('-o', '--output', help="Filename where to export the blocklist") parser.add_argument('-v', '--verbose', action='store_true') parser.add_argument('-n', '--no-delete', action='store_true', help="Do not delete existing blocks") - parser.add_argument('--format', help="Export format: toml|markdown|csv|json") + parser.add_argument('--format', default="toml", type=str, help="Export format: toml|markdown|csv|json") parser.add_argument('--private', action='store_true', help="When the flag is set, private comment will also be " "exported.") args = parser.parse_args()