fix(exporter): Default to toml as default format
This commit is contained in:
parent
735bb5fe6d
commit
3cdf24a5f3
@ -103,7 +103,7 @@ def cli():
|
|||||||
parser.add_argument('-o', '--output', help="Filename where to export the blocklist")
|
parser.add_argument('-o', '--output', help="Filename where to export the blocklist")
|
||||||
parser.add_argument('-v', '--verbose', action='store_true')
|
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('-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 "
|
parser.add_argument('--private', action='store_true', help="When the flag is set, private comment will also be "
|
||||||
"exported.")
|
"exported.")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
Loading…
Reference in New Issue
Block a user