kopia lustrzana https://github.com/corrscope/corrscope
Add `-h` command-line option which shows `--help`
rodzic
53b4f64a87
commit
78d4512fb9
|
@ -50,7 +50,9 @@ def get_path(audio_file: Union[None, str, Path], ext: str) -> Path:
|
||||||
PROFILE_DUMP_NAME = 'cprofile'
|
PROFILE_DUMP_NAME = 'cprofile'
|
||||||
|
|
||||||
|
|
||||||
@click.command()
|
CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])
|
||||||
|
|
||||||
|
@click.command(context_settings=CONTEXT_SETTINGS)
|
||||||
# Inputs
|
# Inputs
|
||||||
@click.argument('files', nargs=-1)
|
@click.argument('files', nargs=-1)
|
||||||
# Override default .yaml settings (only if YAML file not supplied)
|
# Override default .yaml settings (only if YAML file not supplied)
|
||||||
|
|
Ładowanie…
Reference in New Issue