From aafe669739aa8c38611d13deb08706096c7893e0 Mon Sep 17 00:00:00 2001 From: Aris Boutselis Date: Mon, 15 May 2023 06:46:06 +0100 Subject: [PATCH] fix: update engine's cmd flag to match the new cli layout (#400) Signed-off-by: Aris Boutselis Co-authored-by: Aris Boutselis Co-authored-by: Alex Jones --- cmd/auth/new.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/auth/new.go b/cmd/auth/new.go index 3f1b303b90..0cf31283db 100644 --- a/cmd/auth/new.go +++ b/cmd/auth/new.go @@ -122,5 +122,5 @@ func init() { // add flag for url newCmd.Flags().StringVarP(&baseURL, "baseurl", "u", "", "URL AI provider, (e.g `http://localhost:8080/v1`)") // add flag for azure open ai engine/deployment name - AuthCmd.Flags().StringVarP(&engine, "engine", "e", "", "Azure AI deployment name") + newCmd.Flags().StringVarP(&engine, "engine", "e", "", "Azure AI deployment name") }