Skip to content

Commit e5809be

Browse files
KyleKinghukkin
andauthored
refactor: use dest=validate
Co-authored-by: Taneli Hukkinen <[email protected]>
1 parent 207ad63 commit e5809be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mdformat/_cli.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ def make_arg_parser(
204204
)
205205
parser.add_argument(
206206
"--no-validate",
207-
action="store_true",
207+
action="store_false",
208+
dest="validate",
208209
help="do not validate that the rendered HTML is consistent",
209210
)
210211
version_str = f"mdformat {mdformat.__version__}"

0 commit comments

Comments
 (0)