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:
parent
2202ce27fa
commit
379a1fd23b
@ -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):
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user