From 307219fa7f375a9755553457d27f2edd82e759cb Mon Sep 17 00:00:00 2001 From: subframe7536 <1667077010@qq.com> Date: Sun, 27 Oct 2024 16:36:38 +0800 Subject: [PATCH] fix default value --- build.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.py b/build.py index 6df6ea3..261b1e8 100644 --- a/build.py +++ b/build.py @@ -64,48 +64,56 @@ def parse_args(): parser.add_argument( "--hinted", dest="hinted", + default=None, action="store_true", help="Whether to use hinted font as base font", ) parser.add_argument( "--no-hinted", dest="hinted", + default=None, action="store_false", help="Whether not to use hinted font as base font", ) parser.add_argument( "--liga", dest="liga", + default=None, action="store_true", help="Whether to remove all the ligatures", ) parser.add_argument( "--no-liga", dest="liga", + default=None, action="store_false", help="Whether to remove all the ligatures", ) parser.add_argument( "--nerd-font", dest="nerd_font", + default=None, action="store_true", help="Whether to skip build Nerd Font version", ) parser.add_argument( "--no-nerd-font", dest="nerd_font", + default=None, action="store_false", help="Whether to skip build Nerd Font version", ) parser.add_argument( "--cn", dest="cn", + default=None, action="store_true", help="Whether to skip build Chinese version", ) parser.add_argument( "--no-cn", dest="cn", + default=None, action="store_false", help="Whether to skip build Chinese version", )