From b27e2983513a8fa89c03e391a251d0b59c576036 Mon Sep 17 00:00:00 2001 From: Patrik Lundin Date: Sun, 29 Sep 2024 13:51:56 +0200 Subject: [PATCH] Fix "dawg list" There is no need to supply a name to look for when the operation is to list all names. --- cmd/dawg.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/dawg.go b/cmd/dawg.go index 246375b..048d994 100644 --- a/cmd/dawg.go +++ b/cmd/dawg.go @@ -105,11 +105,6 @@ and usage of using your command.`, os.Exit(1) } - if dawgname == "" { - fmt.Printf("Error: DAWG name not specified.\n") - os.Exit(1) - } - fmt.Printf("Loading DAWG: %s\n", dawgfile) dawgf, err := dawg.Load(dawgfile) if err != nil {