summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/spack/cmd/info.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/spack/spack/cmd/info.py b/lib/spack/spack/cmd/info.py
index 81a68dae96..f8db9e10cb 100644
--- a/lib/spack/spack/cmd/info.py
+++ b/lib/spack/spack/cmd/info.py
@@ -114,10 +114,8 @@ class VariantFormatter(object):
'{0} [{1}]'.format(k, self.default(v)),
width=self.column_widths[0]
)
- allowed = textwrap.wrap(
- v.allowed_values,
- width=self.column_widths[1]
- )
+ allowed = v.allowed_values.replace('True, False', 'on, off')
+ allowed = textwrap.wrap(allowed, width=self.column_widths[1])
description = textwrap.wrap(
v.description,
width=self.column_widths[2]