mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-13 03:03:33 +02:00
font-patcher: Correct usage hint
[why] As we introduces a default --makegroups value of 1 the solution to a problem can not be omitting the option but the user needs to specifically call it with value 0 instead. Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
This commit is contained in:
parent
bd5c74b5c9
commit
e2abaaf53f
@ -567,7 +567,7 @@ class font_patcher:
|
||||
parser_name = os.path.splitext(os.path.basename(self.args.font))[0]
|
||||
n = FontnameParser(parser_name, logger)
|
||||
if not n.parse_ok:
|
||||
logger.warning("Have only minimal naming information, check resulting name. Maybe omit --makegroups option")
|
||||
logger.warning("Have only minimal naming information, check resulting name. Maybe specify --makegroups 0")
|
||||
n.drop_for_powerline()
|
||||
n.enable_short_families(True, self.args.makegroups in [ 2, 3, 5, 6, ], self.args.makegroups in [ 3, 6, ])
|
||||
|
||||
@ -1849,7 +1849,7 @@ def setup_arguments():
|
||||
args = parser.parse_args()
|
||||
|
||||
if args.makegroups > 0 and not FontnameParserOK:
|
||||
logger.critical("FontnameParser module missing (bin/scripts/name_parser/Fontname*), can not --makegroups")
|
||||
logger.critical("FontnameParser module missing (bin/scripts/name_parser/Fontname*), specify --makegroups 0")
|
||||
sys.exit(1)
|
||||
|
||||
# if you add a new font, set it to True here inside the if condition
|
||||
|
Loading…
Reference in New Issue
Block a user