Skip to content

Commit

Permalink
Hide cu2qu.cli from --help
Browse files Browse the repository at this point in the history
  • Loading branch information
behdad committed Apr 30, 2024
1 parent 1d802db commit 8c32511
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/fontTools/cu2qu/__main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sys
from .cli import main
from .cli import _main as main


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion Lib/fontTools/cu2qu/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def _copytree(input_path, output_path):
shutil.copytree(input_path, output_path)


def main(args=None):
def _main(args=None):
"""Convert a UFO font from cubic to quadratic curves"""
parser = argparse.ArgumentParser(prog="cu2qu")
parser.add_argument("--version", action="version", version=fontTools.__version__)
Expand Down

0 comments on commit 8c32511

Please sign in to comment.