From: Shane Jaroch Date: Thu, 14 Dec 2023 16:14:40 +0000 (-0500) Subject: use --version, no "-v" X-Git-Tag: v0.2.8.dev0~54 X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=79f6c207d3f20fa012850936d1f474fe01262de1;p=nutratech%2Fcli.git use --version, no "-v" --- diff --git a/.github/workflows/install-linux.yml b/.github/workflows/install-linux.yml index de6fa69..d04e24a 100644 --- a/.github/workflows/install-linux.yml +++ b/.github/workflows/install-linux.yml @@ -52,6 +52,6 @@ jobs: - name: Basic Tests / CLI / Integration run: | - n -v + n --version nutra -d recipe init -f nutra --no-pager recipe diff --git a/.github/workflows/install-win32.yml b/.github/workflows/install-win32.yml index 59b0a6a..646b44d 100644 --- a/.github/workflows/install-win32.yml +++ b/.github/workflows/install-win32.yml @@ -43,7 +43,7 @@ jobs: - name: Basic Tests / CLI / Integration run: | - n -v + n --version nutra -d init -y nutra --no-pager nt nutra --no-pager sort -c 789 diff --git a/Makefile b/Makefile index 9d93218..e531300 100644 --- a/Makefile +++ b/Makefile @@ -144,7 +144,7 @@ install: ## pip install . ${PY_SYS_INTERPRETER} -m pip install . || ${PY_SYS_INTERPRETER} -m pip install --user . ${PY_SYS_INTERPRETER} -m pip show nutra - ${PY_SYS_INTERPRETER} -c 'import shutil; print(shutil.which("nutra"));' - nutra -v + nutra --version diff --git a/ntclient/__main__.py b/ntclient/__main__.py index ccde961..2b3eda3 100644 --- a/ntclient/__main__.py +++ b/ntclient/__main__.py @@ -32,7 +32,6 @@ def build_arg_parser() -> argparse.ArgumentParser: arg_parser = argparse.ArgumentParser(prog=__title__) arg_parser.add_argument( - "-v", "--version", action="version", version="{0} cli version {1} ".format(__title__, __version__)