Files
modules/testsuite/modulefiles/remove/1.8
Xavier Delaruelle 5b4831873e Args after var name are values on {append,prepend,remove}-path
Fix argument parsing for the `append-path`, `prepend-path` and
`remove-path` modulefile commands to consider every arguments found
after the variable name as variable values and not command option even
if argument starts with `-` character.

Fixes #278.
2019-06-28 21:42:58 +02:00

27 lines
703 B
Groff

#%Module1.0
##############################################################################
# Modules Revision 3.0
# Providing a flexible user environment
#
# File: remove/%M%
# Revision: %I%
# First Edition: 2019/06/26
# Last Mod.: %U%, %G%
#
# Authors: Xavier Delaruelle, xavier.delaruelle@cea.fr
#
# Description: Test removing multiple paths prefixed with minus sign
# Command:
# Sub-Command: remove-path
#
# Invocation: load @M@/@V@
# Comment: %C{
# }C%
#
##############################################################################
remove-path testsuite --delim=, {http://foobar.com}
remove-path testsuite2 -d , {http://foobar.com}
remove-path testsuite3 -Lfoo bar