From 3e1e0fd0d632d53b2082bf9feb8d99cd38678c0a Mon Sep 17 00:00:00 2001 From: fdai7374 Date: Sat, 4 Feb 2023 14:49:45 +0100 Subject: [PATCH] feat: add error message for invalid style --- src/builtins/blahaj.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtins/blahaj.rs b/src/builtins/blahaj.rs index 2c28970..6d9c305 100644 --- a/src/builtins/blahaj.rs +++ b/src/builtins/blahaj.rs @@ -36,7 +36,7 @@ impl Builtin for Blahaj { pride_flag(blahaj); }else if args[0].eq("-ger"){ german(blahaj); - } + }else {println!("{} is not a valid style for blahaj",args[0])} } Ok(()) }