From 59894343de81ed9238b25c4decb105e98dee3e68 Mon Sep 17 00:00:00 2001 From: Sergio <77530549+sergi0g@users.noreply.github.com> Date: Wed, 4 Dec 2024 20:00:42 +0200 Subject: [PATCH] Add error message when user doesn't specify command --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index d4a01a1..019ff17 100644 --- a/src/main.rs +++ b/src/main.rs @@ -98,6 +98,6 @@ async fn main() { Some(Commands::Serve { port }) => { let _ = serve(port, &config).await; } - None => (), + None => error!("Whoops! It looks like you haven't specified a command to run! Try `cup help` to see available options."), } }