diff options
Diffstat (limited to 'cmd/podman/login.go')
-rw-r--r-- | cmd/podman/login.go | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/podman/login.go b/cmd/podman/login.go index 92417e1a1..afbd180f8 100644 --- a/cmd/podman/login.go +++ b/cmd/podman/login.go @@ -40,12 +40,13 @@ var ( } loginDescription = "Login to a container registry on a specified server." loginCommand = cli.Command{ - Name: "login", - Usage: "Login to a container registry", - Description: loginDescription, - Flags: loginFlags, - Action: loginCmd, - ArgsUsage: "REGISTRY", + Name: "login", + Usage: "Login to a container registry", + Description: loginDescription, + Flags: loginFlags, + Action: loginCmd, + ArgsUsage: "REGISTRY", + OnUsageError: usageErrorHandler, } ) |