diff options
Diffstat (limited to 'gerbonara/cli.py')
-rw-r--r-- | gerbonara/cli.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gerbonara/cli.py b/gerbonara/cli.py index d24088e..845e44a 100644 --- a/gerbonara/cli.py +++ b/gerbonara/cli.py @@ -299,6 +299,7 @@ def transform(transform, units, output_format, inpath, outpath, @cli.command() +@click.option('--version', is_flag=True, callback=print_version, expose_value=False, is_eager=True) @click.option('--command-line-units', type=Unit(), help='''Units for values given in --transform. Default: millimeter''') @click.option('--warnings', 'format_warnings', type=click.Choice(['default', 'ignore', 'once']), default='default', |