Skip to content

Commit a3460a8

Browse files
committed
Add version option to CLI
1 parent 964e245 commit a3460a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

systemd_gpio.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99

1010
@click.command(context_settings=dict(auto_envvar_prefix="GPIO"))
11+
@click.version_option()
1112
@click.option("--pin", type=int, required=True)
1213
@click.option("--pull-up", type=bool, default=True)
1314
@click.option("--active-state", type=bool)

0 commit comments

Comments
 (0)