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 @@ def lines(self): '{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]