diff options
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() |
