]> Nutra Git (v1) - nutratech/cli.git/commitdiff
use --version, no "-v"
authorShane Jaroch <chown_tee@proton.me>
Thu, 14 Dec 2023 16:14:40 +0000 (11:14 -0500)
committerShane Jaroch <chown_tee@proton.me>
Thu, 14 Dec 2023 16:14:40 +0000 (11:14 -0500)
.github/workflows/install-linux.yml
.github/workflows/install-win32.yml
Makefile
ntclient/__main__.py

index de6fa69b3b4791969dbb772c34038541cc8e7c22..d04e24a8d10f29b0adbc019320eaeddb2772dca2 100644 (file)
@@ -52,6 +52,6 @@ jobs:
 
       - name: Basic Tests / CLI / Integration
         run: |
-          n -v
+          n --version
           nutra -d recipe init -f
           nutra --no-pager recipe
index 59b0a6a854a838d0b5415439e54ed03b4e14fbfc..646b44d2bc2353f46afffe27cc4aca8323fd2bf8 100644 (file)
@@ -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
index 9d9321833f34ea11776ae40e9643f8bf07dcf086..e5313005be767d33faa1e7b78eda93de502fced6 100644 (file)
--- 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
 
 
 
index ccde9616820f2e146fc3d6a8501591018f4744ef..2b3eda31f68b00066c0f0f9399b585efb4452234 100644 (file)
@@ -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__)