summaryrefslogtreecommitdiff
path: root/cmd/podman/logout.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/logout.go')
-rw-r--r--cmd/podman/logout.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/podman/logout.go b/cmd/podman/logout.go
index 97631f827..fa77df2ab 100644
--- a/cmd/podman/logout.go
+++ b/cmd/podman/logout.go
@@ -22,12 +22,13 @@ var (
}
logoutDescription = "Remove the cached username and password for the registry."
logoutCommand = cli.Command{
- Name: "logout",
- Usage: "Logout of a container registry",
- Description: logoutDescription,
- Flags: logoutFlags,
- Action: logoutCmd,
- ArgsUsage: "REGISTRY",
+ Name: "logout",
+ Usage: "Logout of a container registry",
+ Description: logoutDescription,
+ Flags: logoutFlags,
+ Action: logoutCmd,
+ ArgsUsage: "REGISTRY",
+ OnUsageError: usageErrorHandler,
}
)