From 7bf70a9dc638e2ada04a7191cb1498d1136089f2 Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Fri, 28 May 2021 14:44:16 -0500 Subject: [PATCH] With -a, display all --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index 4ee5048..e683576 100644 --- a/main.go +++ b/main.go @@ -21,7 +21,7 @@ func main() { if v == "-a" { getApprox = true } else if v == "-completion-list" { - for k, _ := range allEmoji { + for k := range allEmoji { fmt.Print(strings.Trim(k, ":"), " ") } } else { @@ -39,7 +39,6 @@ func main() { for k, v := range allEmoji { if strings.Contains(k, which) { fmt.Println(v) - os.Exit(0) } } }