summaryrefslogtreecommitdiff
path: root/cmd/podman/logout.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2019-02-10 15:25:13 -0600
committerbaude <bbaude@redhat.com>2019-02-11 12:53:21 -0600
commit13d2354bc6b43571061d6eccab560fe1f226339e (patch)
tree07d6b759d83e91bd9c3097ee46428a230728c47a /cmd/podman/logout.go
parentc86e8f180c8b0cdbd1bafe327c4671370096c45f (diff)
downloadpodman-13d2354bc6b43571061d6eccab560fe1f226339e.tar.gz
podman-13d2354bc6b43571061d6eccab560fe1f226339e.tar.bz2
podman-13d2354bc6b43571061d6eccab560fe1f226339e.zip
Separate remote and local commands
In the previous CLI, we had an accurate depiction of commands available for the remote client and those available for the local client. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/logout.go')
-rw-r--r--cmd/podman/logout.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/podman/logout.go b/cmd/podman/logout.go
index 02bde7857..4d0f156e4 100644
--- a/cmd/podman/logout.go
+++ b/cmd/podman/logout.go
@@ -32,7 +32,6 @@ func init() {
flags.BoolVarP(&logoutCommand.All, "all", "a", false, "Remove the cached credentials for all registries in the auth file")
flags.StringVar(&logoutCommand.Authfile, "authfile", "", "Path of the authentication file. Default is ${XDG_RUNTIME_DIR}/containers/auth.json. Use REGISTRY_AUTH_FILE environment variable to override")
- rootCmd.AddCommand(logoutCommand.Command)
}
// logoutCmd uses the authentication package to remove the authenticated of a registry