From c9493bcb7fcdf3ce9a09e2810ace8b7362901608 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Thu, 10 Feb 2022 21:43:50 +0100 Subject: add show_default=True to --srcdir option --- src/hydrilla/builder/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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).') -- cgit v1.2.3