mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 01:53:08 +02:00
modmanage: use 'modmanage' as name with getopt
This commit is contained in:
@@ -655,7 +655,7 @@ if [[ "${subcommand}" != "init" ]] && [[ -z "${PMODULES_ROOT}" ]]; then
|
||||
std::die 1 "Error: No current module environment configured!"
|
||||
fi
|
||||
|
||||
tmp=$("${getopt}" ${Options[${subcommand}]} -- "${opts[@]}" "$@" ) \
|
||||
tmp=$("${getopt}" --name="${CMD}" ${Options[${subcommand}]} -- "${opts[@]}" "$@" ) \
|
||||
|| print_help "${subcommand}"
|
||||
eval args=( "$tmp" )
|
||||
unset tmp
|
||||
|
||||
Reference in New Issue
Block a user