summaryrefslogtreecommitdiff
path: root/src/virtualenv/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/virtualenv/config')
-rw-r--r--src/virtualenv/config/cli/parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/virtualenv/config/cli/parser.py b/src/virtualenv/config/cli/parser.py
index 67c63fb..aff7f44 100644
--- a/src/virtualenv/config/cli/parser.py
+++ b/src/virtualenv/config/cli/parser.py
@@ -11,7 +11,7 @@ class VirtualEnvConfigParser(ArgumentParser):
Custom option parser which updates its defaults by checking the configuration files and environmental variables
"""
- def __init__(self, *args, **kwargs):
+ def __init__(self, options=None, *args, **kwargs):
self.file_config = IniConfig()
self.epilog_list = []
kwargs["epilog"] = self.file_config.epilog
@@ -22,7 +22,7 @@ class VirtualEnvConfigParser(ArgumentParser):
self._fixed = set()
self._elements = None
self._verbosity = None
- self._options = None
+ self._options = options
self._interpreter = None
def _fix_defaults(self):