aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-02-10 21:43:50 +0100
committerWojtek Kosior <koszko@koszko.org>2022-02-10 21:43:50 +0100
commitc9493bcb7fcdf3ce9a09e2810ace8b7362901608 (patch)
treed48f22d5e2aeeea5e6eff02a90ec0c931ae89d4e /src
parente8c1af86062dbef68837d17e2f17f4b3c975c85c (diff)
downloadhydrilla-builder-c9493bcb7fcdf3ce9a09e2810ace8b7362901608.tar.gz
hydrilla-builder-c9493bcb7fcdf3ce9a09e2810ace8b7362901608.zip
add show_default=True to --srcdir option
Diffstat (limited to 'src')
-rw-r--r--src/hydrilla/builder/__main__.py2
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).')