Debian Codegraph @

testsuite/modulefiles/info/specified

raw
1 #%Module1.0
2
3 ##############################################################################
4 # Modules Revision 3.0
5 # Providing a flexible user environment
6 #
7 # File: info/%M%
8 # Revision: %I%
9 # First Edition: 2017/01/22
10 # Last Mod.: %U%, %G%
11 #
12 # Authors: Xavier Delaruelle, [email protected]
13 #
14 # Description: Testuite modulefile
15 # Command:
16 # Sub-Command: setenv, module-info specified
17 #
18 # Invocation: load, unload, display, switch, help, test
19 # Result: %R{
20 # }R%
21 # Comment: %C{
22 # The 'module-info specified' command retrieves the
23 # name of the modulefile specified on the command-line
24 # }C%
25 #
26 ##############################################################################
27
28 proc ModulesHelp { } {
29 puts stderr "[module-info specified]"
30 }
31
32 proc ModulesTest { } {
33 puts stderr "[module-info specified]"
34 return 1
35 }
36
37 if { [module-info mode whatis] } {
38 module-whatis "[module-info specified]"
39 } elseif {[module-info mode] ni {help test scan}} {
40 puts stderr "[module-info specified]"
41 }