From 9181a046ec12ce3a6f9aa2510b1a73149373ee96 Mon Sep 17 00:00:00 2001 From: rnxypke Date: Thu, 3 Oct 2019 08:21:24 +0200 Subject: [PATCH] use correct argument for error message --- src/plugins/match.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/match.rs b/src/plugins/match.rs index 81008a726e..1f2aad83fc 100644 --- a/src/plugins/match.rs +++ b/src/plugins/match.rs @@ -52,7 +52,7 @@ impl Plugin for Match { _ => { return Err(ShellError::string(format!( "Unrecognized type in params: {:?}", - args[0] + args[1] ))); } }