diff options
| author | Bernát Gábor <bgabor8@bloomberg.net> | 2020-02-04 14:51:00 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-04 14:51:00 +0000 |
| commit | 7a5d03fe15f1d467f7b224c528b95eccc080b2c1 (patch) | |
| tree | 7d1ccccac7eb588221fd3aa26c9d9227293ba179 /src/virtualenv/config/cli | |
| parent | 786c3d0addb5d6b155dc73f8bd444bde00877045 (diff) | |
| download | virtualenv-7a5d03fe15f1d467f7b224c528b95eccc080b2c1.tar.gz | |
rewrite the documentation (#1519)
Diffstat (limited to 'src/virtualenv/config/cli')
| -rw-r--r-- | src/virtualenv/config/cli/parser.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/virtualenv/config/cli/parser.py b/src/virtualenv/config/cli/parser.py index e817a42..67c63fb 100644 --- a/src/virtualenv/config/cli/parser.py +++ b/src/virtualenv/config/cli/parser.py @@ -20,6 +20,10 @@ class VirtualEnvConfigParser(ArgumentParser): kwargs["prog"] = "virtualenv" super(VirtualEnvConfigParser, self).__init__(*args, **kwargs) self._fixed = set() + self._elements = None + self._verbosity = None + self._options = None + self._interpreter = None def _fix_defaults(self): for action in self._actions: @@ -52,7 +56,7 @@ class VirtualEnvConfigParser(ArgumentParser): class HelpFormatter(ArgumentDefaultsHelpFormatter): def __init__(self, prog): - super(HelpFormatter, self).__init__(prog, max_help_position=37, width=240) + super(HelpFormatter, self).__init__(prog, max_help_position=35, width=240) def _get_help_string(self, action): # noinspection PyProtectedMember |
