From ae5e121502cea43f173e8070fa05fe77244a1c05 Mon Sep 17 00:00:00 2001 From: psakievich Date: Wed, 26 Feb 2025 10:48:01 -0700 Subject: [PATCH] Preserve `--lines` (#49194) This does not propagate in parsing. Open to other ideas. --- lib/spack/spack/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/spack/spack/main.py b/lib/spack/spack/main.py index 8907022009c..fee3acca05c 100644 --- a/lib/spack/spack/main.py +++ b/lib/spack/spack/main.py @@ -998,6 +998,7 @@ def finish_parse_and_run(parser, cmd_name, main_args, env_format_error): args, unknown = parser.parse_known_args(main_args.command) # we need to inherit verbose since the install command checks for it args.verbose = main_args.verbose + args.lines = main_args.lines # Now that we know what command this is and what its args are, determine # whether we can continue with a bad environment and raise if not.