cmark

My personal build of CMark ✏️

Commit
2eb4239c8bf6058b2e4760a4a5bd96c16d8d2869
Parent
d55a0d9a1a731a443614d9f50fea9c488cbad79a
Author
John MacFarlane <fiddlosopher@gmail.com>
Date

Renamed --test-normalization to --debug-normalization

Diffstat

1 file changed, 2 insertions, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified runtests.py 4 2 2
diff --git a/runtests.py b/runtests.py
@@ -22,7 +22,7 @@ if __name__ == "__main__":
             default=None, help='limit to sections matching regex pattern')
     parser.add_argument('--library-dir', dest='library_dir', nargs='?',
             default=None, help='directory containing dynamic library')
-    parser.add_argument('--test-normalization', dest='test_normalization',
+    parser.add_argument('--debug-normalization', dest='debug_normalization',
             action='store_const', const=True,
             default=False, help='filter stdin through normalizer for testing')
     args = parser.parse_args(sys.argv[1:])
@@ -265,7 +265,7 @@ def do_tests(specfile, prog, pattern):
     return (failed == 0 and errored == 0)
 
 if __name__ == "__main__":
-    if args.test_normalization:
+    if args.debug_normalization:
         print normalize(sys.stdin.read())
     elif do_tests(args.spec, args.program, args.pattern):
         exit(0)