Skip to content

Commit a0ce779

Browse files
committed
Add -h to help argument to use common notations for help flag
1 parent 6014f88 commit a0ce779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pynitrokey/cli/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def check_root():
5757
print()
5858

5959

60-
@click.group()
60+
@click.group(context_settings={"help_option_names": ["-h", "--help"]})
6161
def nitropy():
6262
handler = logging.FileHandler(filename=LOG_FN, delay=True, encoding="utf-8")
6363
logging.basicConfig(format=LOG_FORMAT, level=logging.DEBUG, handlers=[handler])

0 commit comments

Comments
 (0)