feat: bots : quit on match end
This commit is contained in:
parent
6478f5043d
commit
33e77ff095
3 changed files with 5 additions and 2 deletions
|
|
@ -37,6 +37,9 @@ fn main() -> Result<()> {
|
|||
|
||||
// Create an application.
|
||||
let mut app = App::new(args);
|
||||
if app.should_quit {
|
||||
println!("{}", app.display());
|
||||
}
|
||||
|
||||
// Start the main loop.
|
||||
while !app.should_quit {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue