Skip to content

Commit cae63de

Browse files
committed
doc: desc. "describe" sub-command
Signed-off-by: Xavier Delaruelle <[email protected]>
1 parent 0ba8c3a commit cae63de

File tree

5 files changed

+13
-5
lines changed

5 files changed

+13
-5
lines changed

NEWS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ Modules 5.6.0 (not yet released)
149149
* Doc: add :ref:`other-implementations` document.
150150
* Add :subcmd:`update` sub-command, an alias of :subcmd:`reload`
151151
* Add :subcmd:`disable` sub-command, an alias of :subcmd:`saverm`
152+
* Add :subcmd:`describe` sub-command, an alias of :subcmd:`saveshow`
152153

153154
.. _Security policy: https://github.com/envmodules/modules/blob/main/SECURITY.md
154155
.. _Modules chat room: https://matrix.to/#/#modules:matrix.org

doc/source/changes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,8 @@ The following module sub-commands appeared on Modules 5.
903903
+------------+-----------------------------------------------------------------+
904904
| 5.3 | :subcmd:`cachebuild`, :subcmd:`cacheclear` |
905905
+------------+-----------------------------------------------------------------+
906-
| 5.6 | :subcmd:`spider`, :subcmd:`update`, :subcmd:`disable` |
906+
| 5.6 | :subcmd:`spider`, :subcmd:`update`, :subcmd:`disable`, |
907+
| | :subcmd:`describe` |
907908
+------------+-----------------------------------------------------------------+
908909

909910
:subcmd:`list`

doc/source/module.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1741,6 +1741,14 @@ Module Sub-Commands
17411741
*Value* prefixes ``+`` and ``-`` added to append and subtract elements
17421742
to list-value options
17431743

1744+
.. subcmd:: describe [collection]
1745+
1746+
See :subcmd:`saveshow`.
1747+
1748+
.. only:: html
1749+
1750+
.. versionadded:: 5.6
1751+
17441752
.. subcmd:: disable [collection]
17451753

17461754
See :subcmd:`saverm`.

doc/source/other-implementations.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ at the end of this section to map these equivalents.
9090

9191
* - Lmod 8.8
9292
- Modules 5.6
93-
* - ``category``, ``describe``, ``overview``, ``tablelist``
93+
* - ``category``, ``overview``, ``tablelist``
9494
- :subcmd:`aliases`, :subcmd:`append-path`, :subcmd:`cachebuild`,
9595
:subcmd:`cacheclear`, :subcmd:`clear`, :subcmd:`config`,
9696
:subcmd:`edit`, :subcmd:`info-loaded`, :subcmd:`initadd`,
@@ -191,8 +191,6 @@ implementation.
191191
- ``module config`` :mconfig:`hide_auto_loaded` ``1``
192192
* - ``module tablelist``
193193
- ``module list`` :option:`--json`
194-
* - ``module describe``
195-
- ``module`` :subcmd:`saveshow`
196194
* - ``module --pin_versions restore``
197195
- ``module config`` :mconfig:`collection_pin_version` ``1`` +
198196
``module save`` + ``module restore``

tcl/report.tcl.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2080,7 +2080,7 @@ Collection of modules handling commands:
20802080
save [collection|file] Save current module list to collection
20812081
restore [collection|file] Restore module list from collection or file
20822082
saverm | disable [collection] Remove saved collection
2083-
saveshow [collection|file] Display information about collection
2083+
saveshow | describe [coll|file] Display information about collection
20842084
savelist [-a] [-t|-l|-j] [-S|-C] [collection ...]
20852085
List all or matching saved collections
20862086
is-saved [collection ...] Test if any of the collection(s) exists

0 commit comments

Comments
 (0)