m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-16 17:13:46 -05:00

Add error message when user doesn't specify command

This commit is contained in:
Sergio
2024-12-04 20:00:42 +02:00
parent 61bc60493f
commit 59894343de

View File

@@ -98,6 +98,6 @@ async fn main() {
Some(Commands::Serve { port }) => { Some(Commands::Serve { port }) => {
let _ = serve(port, &config).await; 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."),
} }
} }