mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-01 21:58:43 +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]]
|
[[package]]
|
||||||
name = "envision"
|
name = "envision"
|
||||||
version = "0.0.2"
|
version = "1.0.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"ash",
|
"ash",
|
||||||
|
|
|
@ -111,6 +111,7 @@ fn main() -> Result<()> {
|
||||||
let sender = BROKER.sender();
|
let sender = BROKER.sender();
|
||||||
main_app.connect_command_line(move |this, cmdline| {
|
main_app.connect_command_line(move |this, cmdline| {
|
||||||
if CmdLineOpts::handle_non_activating_opts(cmdline) {
|
if CmdLineOpts::handle_non_activating_opts(cmdline) {
|
||||||
|
this.quit();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
this.activate();
|
this.activate();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue