From 108caec3adb1539990f4d8e837a2659dca0e5dd6 Mon Sep 17 00:00:00 2001 From: Xavier Delaruelle Date: Sat, 6 Aug 2022 08:03:25 +0200 Subject: [PATCH] doc: fix missing ref to cmd shell support --- README.md | 2 +- doc/source/changes.rst | 2 ++ doc/source/index.rst | 2 +- doc/source/module.rst | 2 +- doc/source/modulefile.rst | 8 ++++---- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 30142532..2b213f04 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ to supplement or replace the shared modulefiles. Modules can be loaded and unloaded dynamically and atomically, in an clean fashion. All popular shells are supported, including bash, ksh, zsh, sh, -csh, tcsh, fish, as well as some scripting languages such as tcl, perl, +csh, tcsh, fish, cmd, as well as some scripting languages such as tcl, perl, python, ruby, cmake and r. Modules are useful in managing different versions of applications. Modules diff --git a/doc/source/changes.rst b/doc/source/changes.rst index 97a38071..25fbb051 100644 --- a/doc/source/changes.rst +++ b/doc/source/changes.rst @@ -282,6 +282,8 @@ On version 4 and for *sh*, *bash*, *ksh*, *zsh* and *fish* shells, text output, Starting version ``4.5``, a new alias or function called :command:`ml` may be defined at initialization time, to provide a handy frontend to the :command:`module` command. +Starting version ``4.5``, support for Windows *cmd* shell is introduced. + Modulecmd startup """"""""""""""""" diff --git a/doc/source/index.rst b/doc/source/index.rst index e026802a..e724a71c 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -22,7 +22,7 @@ replace the shared modulefiles. Modules can be **loaded** and **unloaded** dynamically and atomically, in an clean fashion. All popular shells are supported, including *bash*, -*ksh*, *zsh*, *sh*, *csh*, *tcsh*, *fish*, as well as some scripting +*ksh*, *zsh*, *sh*, *csh*, *tcsh*, *fish*, *cmd*, as well as some scripting languages such as *tcl*, *perl*, *python*, *ruby*, *cmake* and *r*. Modules are useful in managing different versions of applications. Modules diff --git a/doc/source/module.rst b/doc/source/module.rst index c9e1efd3..17cd3573 100644 --- a/doc/source/module.rst +++ b/doc/source/module.rst @@ -70,7 +70,7 @@ program and has the shell evaluate the command's output. The first argument to The initialization scripts are kept in |file initdir_shell| where ** is the name of the sourcing shell. For example, a C Shell user sources the |file initdir_csh| script. The sh, csh, tcsh, bash, ksh, -zsh and fish shells are supported by :file:`modulecmd.tcl`. In addition, +zsh, fish and cmd shells are supported by :file:`modulecmd.tcl`. In addition, python, perl, ruby, tcl, cmake, r and lisp "shells" are supported which writes the environment changes to stdout as python, perl, ruby, tcl, lisp, r or cmake code. diff --git a/doc/source/modulefile.rst b/doc/source/modulefile.rst index 0ea41f3f..8613cd82 100644 --- a/doc/source/modulefile.rst +++ b/doc/source/modulefile.rst @@ -660,8 +660,8 @@ the *modulefile* is being loaded. If a *shellname* is given, returns ``1`` if :file:`modulecmd.tcl`'s current shell is *shellname*, returns ``0`` otherwise. *shellname* can be: ``sh``, - ``bash``, ``ksh``, ``zsh``, ``csh``, ``tcsh``, ``fish``, ``tcl``, ``perl``, - ``python``, ``ruby``, ``lisp``, ``cmake``, ``r``. + ``bash``, ``ksh``, ``zsh``, ``csh``, ``tcsh``, ``fish``, ``cmd``, ``tcl``, + ``perl``, ``python``, ``ruby``, ``lisp``, ``cmake``, ``r``. **module-info shelltype** [shelltypename] @@ -673,8 +673,8 @@ the *modulefile* is being loaded. If a *shelltypename* is given, returns ``1`` if :file:`modulecmd.tcl`'s current shell type is *shelltypename*, returns ``0`` otherwise. - *shelltypename* can be: ``sh``, ``csh``, ``fish``, ``tcl``, ``perl``, - ``python``, ``ruby``, ``lisp``, ``cmake``, ``r``. + *shelltypename* can be: ``sh``, ``csh``, ``fish``, ``cmd``, ``tcl``, + ``perl``, ``python``, ``ruby``, ``lisp``, ``cmake``, ``r``. **module-info specified**