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:
@@ -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."),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user