diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-02-10 21:43:50 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-02-10 21:43:50 +0100 |
commit | c9493bcb7fcdf3ce9a09e2810ace8b7362901608 (patch) | |
tree | d48f22d5e2aeeea5e6eff02a90ec0c931ae89d4e /src/hydrilla | |
parent | e8c1af86062dbef68837d17e2f17f4b3c975c85c (diff) | |
download | hydrilla-builder-c9493bcb7fcdf3ce9a09e2810ace8b7362901608.tar.gz hydrilla-builder-c9493bcb7fcdf3ce9a09e2810ace8b7362901608.zip |
add show_default=True to --srcdir option
Diffstat (limited to 'src/hydrilla')
-rw-r--r-- | src/hydrilla/builder/__main__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hydrilla/builder/__main__.py b/src/hydrilla/builder/__main__.py index 32ac2d9..4b703b8 100644 --- a/src/hydrilla/builder/__main__.py +++ b/src/hydrilla/builder/__main__.py @@ -34,7 +34,7 @@ dir_type = click.Path(exists=True, file_okay=False, resolve_path=True) index_type = click.Path(path_type=Path) @click.command() -@click.option('-s', '--srcdir', default='.', type=dir_type, +@click.option('-s', '--srcdir', default='./', type=dir_type, show_default=True, help='Source directory to build from.') @click.option('-i', '--index-json', default='index.json', type=index_type, help='Path to file to be processed instead of index.json (if not absolute, resolved relative to srcdir).') |