From e3ded668c2c339537bb6eb7d53e20185d3ad39c7 Mon Sep 17 00:00:00 2001 From: Andrew Anderson Date: Fri, 19 Apr 2024 15:52:01 -0400 Subject: [PATCH] fixed issue with manifestwork object not creating, added usage to 'labeler' --- cmd/labeler.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cmd/labeler.go b/cmd/labeler.go index 8ee1c48..978e7d1 100755 --- a/cmd/labeler.go +++ b/cmd/labeler.go @@ -24,7 +24,9 @@ func main() { if !h.IsInputFromPipe() { if len(os.Args) <= 1 { - log.Printf("no arguments given, need usage here (TODO)") + args := []string{os.Args[0], "kubectl", "--l-help"} + // log.Printf(args[0] + " requires a subcommand\n") + h.AliasRun(args[1:], p) } else { args := os.Args[1:] if args[0] == "--version" || args[0] == "-v" {