diff --git a/cmd/fdroidcl/search.go b/cmd/fdroidcl/search.go index a713ca5..328a1cb 100644 --- a/cmd/fdroidcl/search.go +++ b/cmd/fdroidcl/search.go @@ -46,7 +46,10 @@ func runSearch(args []string) { if *installed || *updates { device = mustOneDevice() } - apps := filterAppsSearch(mustLoadIndexes(), args) + apps := mustLoadIndexes() + if len(args) > 0 { + apps = filterAppsSearch(apps, args) + } if *installed { apps = filterAppsInstalled(apps, device) }