From cadb00b572ab6337a971a70c100896a3eca2737c Mon Sep 17 00:00:00 2001 From: Kuniwak Date: Tue, 23 Apr 2024 11:26:45 +0900 Subject: [PATCH] Fix a binary name for gh-action in usage ReportedBy: @ponkio-o --- tool/gh-action/options/options.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/gh-action/options/options.go b/tool/gh-action/options/options.go index cf45c44..8939cb9 100644 --- a/tool/gh-action/options/options.go +++ b/tool/gh-action/options/options.go @@ -19,10 +19,10 @@ type Parser func(args []string, procInout cli.ProcessInout, env cli.Env) (*Optio func NewParser() Parser { return func(args []string, procInout cli.ProcessInout, env cli.Env) (*Options, error) { - flags := flag.NewFlagSet("unity-meta-check-gh-action", flag.ContinueOnError) + flags := flag.NewFlagSet("gh-action", flag.ContinueOnError) flags.SetOutput(procInout.Stderr) flags.Usage = func() { - _, _ = fmt.Fprintln(flags.Output(), "usage: unity-meta-check-gh-action -inputs-json ") + _, _ = fmt.Fprintln(flags.Output(), "usage: gh-action -inputs-json ") flags.PrintDefaults() }