From fdf3ae82986fe44640ad9a3383f01ba89fe923cc 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(()) }