mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-04-19 19:14:53 +00:00
fix: exit on listing profiles
This commit is contained in:
parent
355ad050f0
commit
00322492bd
2 changed files with 2 additions and 1 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -554,7 +554,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "envision"
|
||||
version = "0.0.2"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"ash",
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue