From a887b0afbce58af62074d9013a3957710c732436 Mon Sep 17 00:00:00 2001 From: southerntofu Date: Thu, 6 Jan 2022 17:46:56 +0100 Subject: [PATCH] Fix broken error message --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index c22bbce..e4e9610 100644 --- a/src/main.rs +++ b/src/main.rs @@ -61,7 +61,7 @@ fn main() -> Result<(), std::io::Error> { Err(task::MissingTask(t)) => { // Temporarily override the global context let mut context = context.clone(); - context.insert("$i18n_task".to_string(), t); + context.insert("$i18n_arg".to_string(), t); log::error("unknown_arg", &context); std::process::exit(1); }