Fix broken error message

This commit is contained in:
southerntofu 2022-01-06 17:46:56 +01:00
parent 628b6372aa
commit a887b0afbc
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}