some fixes for command help strings (#23658)

- [x] `analyze` isn't commonly used; move it to long help
      (`spack -H` vs `spack -h`). Give it its own section.

- [x] make it clear from `spack -h` that `spack module` can generate
      module files

- [x] shorten help for `spack style`
This commit is contained in:
Todd Gamblin 2021-05-15 13:48:00 -07:00 committed by GitHub
parent 2202ce27fa
commit 379a1fd23b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 8 deletions

View File

@ -18,9 +18,9 @@
import spack.report
description = "analyze installed packages"
section = "extensions"
level = "short"
description = "run analyzers on installed packages"
section = "analysis"
level = "long"
def setup_parser(subparser):

View File

@ -11,7 +11,7 @@
import spack.cmd.modules.lmod
import spack.cmd.modules.tcl
description = "manipulate module files"
description = "generate/manage module files"
section = "user environment"
level = "short"

View File

@ -24,10 +24,7 @@
from itertools import zip_longest # novm
description = (
"runs source code style checks on Spack. Requires flake8, mypy, black for "
+ "their respective checks"
)
description = "runs source code style checks on spack"
section = "developer"
level = "long"