Skip to content

Commit

Permalink
[cli] set --generate-GDEF default to False for backward compatibility
Browse files Browse the repository at this point in the history
as discussed in #792 (comment)
  • Loading branch information
anthrotype committed Jul 22, 2022
1 parent 6677a4e commit 9ccb90b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Lib/glyphsLib/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,21 +99,21 @@ def main(args=None):
gdef_gen_group.add_argument(
"--generate-GDEF",
action="store_true",
default=True,
default=False,
dest="generate_GDEF",
help=(
"Write GDEF categories into the UFO's "
"`public.openTypeCatgeories` lib key (default behavior; switch for "
"backwards compatibility)."
"Write GDEF categories into the UFO's `public.openTypeCatgeories` lib key."
),
)
gdef_gen_group.add_argument(
"--no-generate-GDEF",
action="store_false",
default=False,
dest="generate_GDEF",
help=(
"Skip writing GDEF categories into the UFO's "
"`public.openTypeCatgeories` lib key."
"`public.openTypeCatgeories` lib key (default behavior, for backward "
"compatibility)."
),
)
group.add_argument(
Expand Down

0 comments on commit 9ccb90b

Please sign in to comment.