mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-14 00:50:52 +02:00
Pmodules/modulecmd.bash.in: conflict resolved
This commit is contained in:
@@ -1931,13 +1931,23 @@ while (( $# > 0 )); do
|
||||
opts+=( "$1" )
|
||||
;;
|
||||
* )
|
||||
subcommand="$1"
|
||||
if [[ -z "${Subcommands[$1]}" ]]; then
|
||||
std::die 1 "${CMD}: unknown sub-command -- $1"
|
||||
fi
|
||||
subcommand="$1"
|
||||
shift
|
||||
opts+=( "$@" )
|
||||
shift $#
|
||||
break
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
while (( $# > 0 )); do
|
||||
case "$1" in
|
||||
-- )
|
||||
;;
|
||||
* )
|
||||
opts+=( "$1" )
|
||||
;;
|
||||
esac
|
||||
shift
|
||||
|
||||
Reference in New Issue
Block a user