Skip to content

Commit 678f8e1

Browse files
authored
Merge pull request #49 from alexott/help-short-option
Add the short option for help command: `-h`
2 parents 765fd2b + 739f07d commit 678f8e1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: sigma/cli/main.py

+6-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,12 @@
3737
from .pysigma import check_pysigma_command
3838

3939

40-
@click.group()
40+
CONTEXT_SETTINGS={
41+
"help_option_names": ['-h', '--help']
42+
}
43+
44+
45+
@click.group(context_settings=CONTEXT_SETTINGS)
4146
def cli():
4247
pass
4348

0 commit comments

Comments
 (0)