From 1848a7edb5b7c64a4cd48f6b2db932c4d40e8189 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 5 Jun 2023 14:07:35 -0500 Subject: [PATCH] fix: don't overwrite keys --- src/viv/viv.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/viv/viv.py b/src/viv/viv.py index 511aa73..97ea0d7 100755 --- a/src/viv/viv.py +++ b/src/viv/viv.py @@ -50,7 +50,7 @@ from typing import ( from urllib.error import HTTPError from urllib.request import urlopen -__version__ = "23.5a5-9-g33e2ff5-dev" +__version__ = "23.5a5-11-g92da092-dev" class Spinner: @@ -1435,14 +1435,6 @@ class Cli: action="store_true", ), ], - ("run", "shim"): [ - Arg( - "-k", - "--keep", - help="preserve environment", - action="store_true", - ), - ], ("run", "freeze", "shim"): [ Arg("reqs", help="requirements specifiers", nargs="*"), Arg( @@ -1454,6 +1446,12 @@ class Cli: ), ], ("run", "shim"): [ + Arg( + "-k", + "--keep", + help="preserve environment", + action="store_true", + ), Arg("-b", "--bin", help="console_script/script to invoke", metavar=""), ], ("manage|purge", "manage|update", "manage|install"): [