Revision c9493bcb
Added by koszko over 1 year ago
| src/hydrilla/builder/__main__.py | ||
|---|---|---|
| 34 | 34 |
index_type = click.Path(path_type=Path) |
| 35 | 35 |
|
| 36 | 36 |
@click.command() |
| 37 |
@click.option('-s', '--srcdir', default='.', type=dir_type,
|
|
| 37 |
@click.option('-s', '--srcdir', default='./', type=dir_type, show_default=True,
|
|
| 38 | 38 |
help='Source directory to build from.') |
| 39 | 39 |
@click.option('-i', '--index-json', default='index.json', type=index_type,
|
| 40 | 40 |
help='Path to file to be processed instead of index.json (if not absolute, resolved relative to srcdir).') |
Also available in: Unified diff
add show_default=True to --srcdir option