Skip to content

Commit 41c0fc0

Browse files
committed
doc: fix typos on --user/--group options desc
Signed-off-by: Xavier Delaruelle <[email protected]>
1 parent ac6ab6e commit 41c0fc0

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

doc/source/modulefile.rst

+14-14
Original file line numberDiff line numberDiff line change
@@ -582,16 +582,16 @@ the *modulefile* is being loaded.
582582
If ``--not-user`` option is set, forbidding is not applied if the username of
583583
the user currently running :file:`modulecmd.tcl` is part of the list of
584584
username specified. Following the same approach, if ``--not-group`` option is
585-
set, forbidding is not applied if current user is member of one the group
585+
set, forbidding is not applied if current user is member of one of the groups
586586
specified. When both options are set, forbidding is not applied if a match is
587587
found for ``--not-user`` or ``--not-group``.
588588

589589
If ``--user`` option is set, forbidding is applied only if the username of
590590
the user currently running :file:`modulecmd.tcl` is part of the list of
591591
username specified. Following the same approach, if ``--group`` option is
592-
set, forbidding is applied only if current user is member of one the group
593-
specified. When both options are set, forbidding is applied if a match is
594-
found for ``--user`` or ``--group``. These two options prevail over
592+
set, forbidding is applied only if current user is member of one of the
593+
groups specified. When both options are set, forbidding is applied if a match
594+
is found for ``--user`` or ``--group``. These two options prevail over
595595
``--not-user`` and ``--not-group`` options.
596596

597597
Error message returned when trying to evaluate a forbidden module can be
@@ -677,16 +677,16 @@ the *modulefile* is being loaded.
677677
If ``--not-user`` option is set, hiding is not applied if the username of the
678678
user currently running :file:`modulecmd.tcl` is part of the list of username
679679
specified. Following the same approach, if ``--not-group`` option is set,
680-
hiding is not applied if current user is member of one the group specified.
681-
When both options are set, hiding is not applied if a match is found for
682-
``--not-user`` or ``--not-group``.
680+
hiding is not applied if current user is member of one of the groups
681+
specified. When both options are set, hiding is not applied if a match is
682+
found for ``--not-user`` or ``--not-group``.
683683

684684
If ``--user`` option is set, hiding is applied only if the username of the
685685
user currently running :file:`modulecmd.tcl` is part of the list of username
686686
specified. Following the same approach, if ``--group`` option is set, hiding
687-
is applied only if current user is member of one the group specified. When
688-
both options are set, hiding is applied if a match is found for ``--user`` or
689-
``--group``. These two options prevail over ``--not-user`` and
687+
is applied only if current user is member of one of the groups specified.
688+
When both options are set, hiding is applied if a match is found for
689+
``--user`` or ``--group``. These two options prevail over ``--not-user`` and
690690
``--not-group`` options.
691691

692692
If the :option:`--all` option is set on :subcmd:`avail`, :subcmd:`aliases`,
@@ -915,16 +915,16 @@ the *modulefile* is being loaded.
915915
If ``--not-user`` option is set, the tag is not applied if the username of
916916
the user currently running :file:`modulecmd.tcl` is part of the list of
917917
username specified. Following the same approach, if ``--not-group`` option is
918-
set, the tag is not applied if current user is member of one the group
918+
set, the tag is not applied if current user is member of one of the groups
919919
specified. When both options are set, the tag is not applied if a match is
920920
found for ``--not-user`` or ``--not-group``.
921921

922922
If ``--user`` option is set, the tag is applied only if the username of the
923923
user currently running :file:`modulecmd.tcl` is part of the list of username
924924
specified. Following the same approach, if ``--group`` option is set, the tag
925-
is applied only if current user is member of one the group specified. When
926-
both options are set, the tag is applied if a match is found for ``--user``
927-
or ``--group``. These two options prevail over ``--not-user`` and
925+
is applied only if current user is member of one of the groups specified.
926+
When both options are set, the tag is applied if a match is found for
927+
``--user`` or ``--group``. These two options prevail over ``--not-user`` and
928928
``--not-group`` options.
929929

930930
The parameter *modulefile* may also be a symbolic modulefile name or a

0 commit comments

Comments
 (0)