fix(exporter): Default to toml as default format

This commit is contained in:
Georg Krause 2023-07-10 10:52:33 +02:00 committed by Gitea
parent 735bb5fe6d
commit 3cdf24a5f3

View File

@ -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()