Skip to content

Commit 5792264

Browse files
committed
Fix: Update help text with reference to NGF product
1 parent e25c9ae commit 5792264

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/nginx-supportpkg.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func Execute() {
5555
case "ngf":
5656
jobList = slices.Concat(jobs.CommonJobList(), jobs.NGFJobList())
5757
default:
58-
fmt.Printf("Error: product must be in the following list: [nic]\n")
58+
fmt.Printf("Error: product must be in the following list: [nic, ngf]\n")
5959
os.Exit(1)
6060
}
6161

@@ -104,8 +104,8 @@ func Execute() {
104104
"Usage:" +
105105
"\n nginx-supportpkg -h|--help" +
106106
"\n nginx-supportpkg -v|--version" +
107-
"\n nginx-supportpkg [-n|--namespace] ns1 [-n|--namespace] ns2 [-p|--product] nic" +
108-
"\n nginx-supportpkg [-n|--namespace] ns1,ns2 [-p|--product] nic \n")
107+
"\n nginx-supportpkg [-n|--namespace] ns1 [-n|--namespace] ns2 [-p|--product] [nic,ngf]" +
108+
"\n nginx-supportpkg [-n|--namespace] ns1,ns2 [-p|--product] [nic,ngf] \n")
109109

110110
if err := rootCmd.Execute(); err != nil {
111111
fmt.Println(err)

0 commit comments

Comments
 (0)