From 00322492bd53ea7f50769b117a4ddd17d82c9ded Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Wed, 27 Nov 2024 21:12:28 +0100 Subject: [PATCH] fix: exit on listing profiles --- Cargo.lock | 2 +- src/main.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 9e405c0..4a301a4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -554,7 +554,7 @@ dependencies = [ [[package]] name = "envision" -version = "0.0.2" +version = "1.0.0" dependencies = [ "anyhow", "ash", diff --git a/src/main.rs b/src/main.rs index 6f8e636..1d3eb44 100644 --- a/src/main.rs +++ b/src/main.rs @@ -111,6 +111,7 @@ fn main() -> Result<()> { let sender = BROKER.sender(); main_app.connect_command_line(move |this, cmdline| { if CmdLineOpts::handle_non_activating_opts(cmdline) { + this.quit(); return 0; } this.activate();