From 28d4d71b723df0a6d046ce9c68428bf95bc3eded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Thu, 1 Oct 2015 18:46:03 -0700 Subject: [PATCH] show: require args --- cmd/fdroidcl/show.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/fdroidcl/show.go b/cmd/fdroidcl/show.go index eae91dd..c062cbe 100644 --- a/cmd/fdroidcl/show.go +++ b/cmd/fdroidcl/show.go @@ -22,6 +22,9 @@ func init() { } func runShow(args []string) { + if len(args) < 1 { + log.Fatalf("No package names given") + } apps := findApps(args) for i, app := range apps { if i > 0 {