mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-04 21:00:50 +02:00
modulecmd: more descriptive error message in sub-cmd use
This commit is contained in:
@@ -1517,7 +1517,7 @@ subcommand_use() {
|
||||
if [[ ! -d ${arg} ]]; then
|
||||
std::die 3 "%s %s: %s -- %s" \
|
||||
"${CMD}" "${subcommand}" \
|
||||
"illegal argument" \
|
||||
"illegal argument: is neither a valid keyword, group nor directory" \
|
||||
"${arg}"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user