diff --git a/lib/spack/spack/cmd/dev_build.py b/lib/spack/spack/cmd/dev_build.py index 0d6cb379e6d..a758c5b74f1 100644 --- a/lib/spack/spack/cmd/dev_build.py +++ b/lib/spack/spack/cmd/dev_build.py @@ -29,7 +29,11 @@ def setup_parser(subparser): "--source-path", dest="source_path", default=None, - help="path to source directory (defaults to the current directory)", + help=( + "path to source directory (defaults to the current directory)." + " ignored when using an active environment since the path is determined" + " by the develop section of the environment manifest." + ), ) subparser.add_argument( "-i",