mirror of
https://github.com/docker/compose.git
synced 2026-09-01 15:21:28 +00:00
cli: Fix logout when specifying a registry
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
This commit is contained in:
parent
af0417c758
commit
d1a929eb7f
2 changed files with 4 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ func Command() *cobra.Command {
|
|||
Use: "logout [SERVER]",
|
||||
Short: "Log out from a Docker registry or cloud backend",
|
||||
Long: "Log out from a Docker registry or cloud backend.\nIf no server is specified, the default is defined by the daemon.",
|
||||
Args: cobra.MaximumNArgs(0),
|
||||
Args: cobra.MaximumNArgs(1),
|
||||
RunE: runLogout,
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue