diff options
| author | ewy <ewy0@protonmail.com> | 2026-07-11 18:25:27 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-07-11 18:25:27 +0200 |
| commit | 0a7dc39cc57555b40d8bce860b67e8934c3009e2 (patch) | |
| tree | b20b963889f6e7516d8d67411fd9897daf5fa7bf /main.go | |
| parent | e7d0992be6facf88c7780c5095af208ed9d4289c (diff) | |
set all flag explicitly
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -210,7 +210,8 @@ func pik() *spool.ExitCode { } // TODO: Move auto-all logic into Search? - if !*flags.All && result.Target == nil && len(result.Args) > 0 && SourcesWithoutResults == nil && !ForceConfirm { + if !*flags.All && result.Target == nil && SourcesWithoutResults == nil && !ForceConfirm { + _ = pflag.Set("all", "true") ForceConfirm = true SourcesWithoutResults = &c return pik() |
