Skip to content

Commit

Permalink
Add -h to help argument to use common notations for help flag
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherbridge committed Mar 8, 2024
1 parent 6014f88 commit a0ce779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynitrokey/cli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def check_root():
print()


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

0 comments on commit a0ce779

Please sign in to comment.