Commit Graph

10 Commits

Author SHA1 Message Date
6eeb0a2f69 scripts/Bootstrap/Pmodules/modulecmd.in:
- cache 'FAMILES' and 'HIERARCHY_DEPTHS'
- usage output reviewed
- append_path (), prepend_path(), remove_path() moved to libpmodules
- is_modulefile() added (testing shebang)
- argument/option handling reviewed, using 'getopt' now for all sub-commands
- in sub-command 'load': testing whether a module is loadable improved
- use 'info' for most output
- bugfixes
2015-04-07 15:32:55 +02:00
2d0b29ec5d scripts/Bootstrap/Pmodules/modulecmd.in: cleanup 2015-03-30 17:35:37 +02:00
a777b1240c scripts/Bootstrap/Pmodules/modulecmd.in: unset CDPATH added; print message in sub-command 'load' if no module specified 2015-03-18 17:46:18 +01:00
2c2a4f669d scripts/Bootstrap/Pmodules/modulecmd.in: redirect output of sub-command 'search' to stderr if option '--print-modulefiles' is used 2015-03-17 10:05:25 +01:00
c537be0ed9 scripts/Bootstrap/Pmodules/modulecmd.in: '--src=<dir>' option added to search sub-command 2015-03-13 15:33:23 +01:00
ee289e156a scripts/Bootstrap/Pmodules/modulecmd.in: option '--print-modulefiles' added to search sub-command 2015-03-12 18:37:39 +01:00
8468c84b76 scripts/Bootstrap/Pmodules/modulecmd.in: bugfix: get_family() now returns empty string, if no modulefiles are installed 2015-03-12 17:04:51 +01:00
8f3edefc08 scripts/Bootstrap/Pmodules/modulecmd.in: indentation fixed 2015-03-06 16:27:26 +01:00
37cd92fad3 Bootstrap/Pmodules/modulecmd.in: minor fix in usage output 2015-03-04 18:21:47 +01:00
1aa3367ad7 scripts/Bootstrap: modulecmd.bash renamed to modulecmd.in 2015-03-04 14:25:08 +01:00