diff options
Diffstat (limited to 'src/hydrilla/builder/build.py')
-rw-r--r-- | src/hydrilla/builder/build.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hydrilla/builder/build.py b/src/hydrilla/builder/build.py index 8e78764..5d5bbf8 100644 --- a/src/hydrilla/builder/build.py +++ b/src/hydrilla/builder/build.py @@ -404,6 +404,9 @@ dir_type = click.Path(exists=True, file_okay=False, resolve_path=True) help=_('path_instead_of_index_json')) @click.option('-d', '--dstdir', type=dir_type, required=True, help=_('built_package_files_destination')) +@click.version_option(version=_version.version, prog_name='Hydrilla builder', + message=_('%(prog)s_%(version)s_license'), + help=_('version_printing')) def perform(srcdir, index_json, dstdir): """<this will be replaced by a localized docstring for Click to pick up>""" build = Build(Path(srcdir), Path(index_json)) |