From 73647a2f2ad5e3ea98ed1f1fa8870811d6844ac0 Mon Sep 17 00:00:00 2001 From: Sebastian Nickel Date: Mon, 11 May 2026 10:19:12 +0200 Subject: [PATCH] fix `nctl` login suggestion text So far `nctl` showed `nctl login` as suggestion to login to the API, but the correct command is `nctl auth login`. --- internal/format/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/format/command.go b/internal/format/command.go index cfe6e978..53453a09 100644 --- a/internal/format/command.go +++ b/internal/format/command.go @@ -24,7 +24,7 @@ func Command() command { // Login returns the login command. func (c command) Login() string { - return fmt.Sprintf("%s %s", string(c), LoginCommand) + return fmt.Sprintf("%s auth %s", string(c), LoginCommand) } // Get returns the command for getting a resource with nctl.