From 5535de719c6b8a8c93001758bf65d1df8862f8f7 Mon Sep 17 00:00:00 2001 From: Michael Gallaspy Date: Wed, 9 Mar 2016 14:31:43 -0800 Subject: [PATCH] Parse args with '-' in them --- kalitectl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kalitectl.py b/kalitectl.py index 9bbfe66ca5..9a600289b5 100644 --- a/kalitectl.py +++ b/kalitectl.py @@ -186,7 +186,7 @@ def update_default_args(defaults, updates): looking into django. """ # Returns either the default or an updated argument - arg_name = re.compile(r"^-?-?\s*=?([^\s=-]+)") + arg_name = re.compile(r"^-?-?\s*=?([^\s=]+)") # Create a dictionary of defined defaults and updates where '-somearg' is # always the key, update the defined defaults dictionary with the updates # dictionary thus overwriting the defaults.