From c1bdafef484a5c4da8308b65b01e3c16e1f008f4 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Tue, 10 Aug 2021 08:17:51 +0200 Subject: [PATCH] Avoid "env var" in error message for unknown %val expansion This meaning is only used in C++ sources. The docs use "env var"/"environment variable" a few times for actual environment variables. --- src/shell_manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell_manager.cc b/src/shell_manager.cc index e53d4d5c..f2dffff4 100644 --- a/src/shell_manager.cc +++ b/src/shell_manager.cc @@ -389,7 +389,7 @@ Vector ShellManager::get_val(StringView name, const Context& context) co }); if (env_var == m_env_vars.end()) - throw runtime_error("no such env var: " + name); + throw runtime_error("no such variable: " + name); return env_var->func(name, context); }