From 5941ded0d4828c9464271cad6711ff6b9208e19f Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 20 May 2021 14:52:46 +0200 Subject: [PATCH] modulecmd: more descriptive error message in sub-cmd use --- Pmodules/modulecmd.bash.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pmodules/modulecmd.bash.in b/Pmodules/modulecmd.bash.in index 43b0633..3898101 100644 --- a/Pmodules/modulecmd.bash.in +++ b/Pmodules/modulecmd.bash.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