summaryrefslogtreecommitdiff
path: root/lib/spack/spack/cmd/env.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/spack/cmd/env.py')
-rw-r--r--lib/spack/spack/cmd/env.py22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/spack/spack/cmd/env.py b/lib/spack/spack/cmd/env.py
index afcf61ab08..40600b96af 100644
--- a/lib/spack/spack/cmd/env.py
+++ b/lib/spack/spack/cmd/env.py
@@ -102,7 +102,7 @@ def env_activate_setup_parser(subparser):
dest="with_view",
const=True,
default=True,
- help="update PATH etc. with associated view",
+ help="update PATH, etc., with associated view",
)
view_options.add_argument(
"-V",
@@ -111,7 +111,7 @@ def env_activate_setup_parser(subparser):
dest="with_view",
const=False,
default=True,
- help="do not update PATH etc. with associated view",
+ help="do not update PATH, etc., with associated view",
)
subparser.add_argument(
@@ -161,7 +161,7 @@ def env_activate(args):
# Error out when -e, -E, -D flags are given, cause they are ambiguous.
if args.env or args.no_env or args.env_dir:
- tty.die("Calling spack env activate with --env, --env-dir and --no-env " "is ambiguous")
+ tty.die("Calling spack env activate with --env, --env-dir and --no-env is ambiguous")
env_name_or_dir = args.activate_env or args.dir
@@ -250,7 +250,7 @@ def env_deactivate(args):
# Error out when -e, -E, -D flags are given, cause they are ambiguous.
if args.env or args.no_env or args.env_dir:
- tty.die("Calling spack env deactivate with --env, --env-dir and --no-env " "is ambiguous")
+ tty.die("Calling spack env deactivate with --env, --env-dir and --no-env is ambiguous")
if ev.active_environment() is None:
tty.die("No environment is currently active.")
@@ -290,7 +290,7 @@ def env_create_setup_parser(subparser):
"envfile",
nargs="?",
default=None,
- help="either a lockfile (must end with '.json' or '.lock') or a manifest file.",
+ help="either a lockfile (must end with '.json' or '.lock') or a manifest file",
)
@@ -608,16 +608,16 @@ def env_depfile_setup_parser(subparser):
"--make-target-prefix",
default=None,
metavar="TARGET",
- help="prefix Makefile targets (and variables) with <TARGET>/<name>. By default "
+ help="prefix Makefile targets (and variables) with <TARGET>/<name>\n\nby default "
"the absolute path to the directory makedeps under the environment metadata dir is "
- "used. Can be set to an empty string --make-prefix ''.",
+ "used. can be set to an empty string --make-prefix ''",
)
subparser.add_argument(
"--make-disable-jobserver",
default=True,
action="store_false",
dest="jobserver",
- help="disable POSIX jobserver support.",
+ help="disable POSIX jobserver support",
)
subparser.add_argument(
"--use-buildcache",
@@ -625,8 +625,8 @@ def env_depfile_setup_parser(subparser):
type=arguments.use_buildcache,
default="package:auto,dependencies:auto",
metavar="[{auto,only,never},][package:{auto,only,never},][dependencies:{auto,only,never}]",
- help="When using `only`, redundant build dependencies are pruned from the DAG. "
- "This flag is passed on to the generated spack install commands.",
+ help="when using `only`, redundant build dependencies are pruned from the DAG\n\n"
+ "this flag is passed on to the generated spack install commands",
)
subparser.add_argument(
"-o",
@@ -640,7 +640,7 @@ def env_depfile_setup_parser(subparser):
"--generator",
default="make",
choices=("make",),
- help="specify the depfile type. Currently only make is supported.",
+ help="specify the depfile type\n\ncurrently only make is supported",
)
subparser.add_argument(
metavar="specs",