From e2abaaf53f36cf47b24e8792e2bf66c9880b92b1 Mon Sep 17 00:00:00 2001 From: Fini Jastrow Date: Thu, 20 Apr 2023 15:59:11 +0200 Subject: [PATCH] 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 --- font-patcher | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/font-patcher b/font-patcher index 4f0ca761b..34924a149 100755 --- a/font-patcher +++ b/font-patcher @@ -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