From 4325398ca898d740de8ab2a60480e90c46a06ac1 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Fri, 7 Aug 2020 18:11:42 -0500 Subject: [PATCH] add usage information to Command struct --- cmd/command.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/command.go b/cmd/command.go index c883384..cf59b33 100644 --- a/cmd/command.go +++ b/cmd/command.go @@ -27,6 +27,7 @@ type Command struct { Name string Func func(CmdArgs) (int, error) Flags *flag.FlagSet + Use string } var commandRegistry = make(map[string]Command)