Support --version option in CLI

pull/113/head
Mike Gerber 5 months ago
parent 27ad145c7e
commit 6d1daf1dfe

@ -234,6 +234,7 @@ def process_dir(
metavar="LEVEL", metavar="LEVEL",
) )
@click.option("--progress", default=False, is_flag=True, help="Show progress bar") @click.option("--progress", default=False, is_flag=True, help="Show progress bar")
@click.version_option()
def main( def main(
gt, gt,
ocr, ocr,

Loading…
Cancel
Save