diff options
| author | ewy <ewy0@protonmail.com> | 2026-07-11 19:01:57 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-07-11 19:01:57 +0200 |
| commit | cc55338db781daa554ff88da465ab07019af3db7 (patch) | |
| tree | f429235ef8cfa942bc7c33b204dec782a29a21ff /main.go | |
| parent | 45895d70edb51c877714d6abae70be73f0df6998 (diff) | |
don't show the menu twice if quit
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -210,7 +210,7 @@ func pik() *spool.ExitCode { } // TODO: Move auto-all logic into Search? - if !*flags.All && result.Target == nil && SourcesWithoutResults == nil && !ForceConfirm { + if !*flags.All && result.Target == nil && len(result.Args) > 0 && SourcesWithoutResults == nil && !ForceConfirm { _ = pflag.Set("all", "true") ForceConfirm = true SourcesWithoutResults = &c |
