From 89db77511cce3518ea5f057c4da32c6dd919f816 Mon Sep 17 00:00:00 2001 From: yupeng Date: Tue, 1 Nov 2016 11:07:31 +0800 Subject: [PATCH] Align with other cli descriptions Signed-off-by: yupeng --- command/registry/login.go | 2 +- command/registry/logout.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/command/registry/login.go b/command/registry/login.go index d6f7f8f1d1..7b29cfdb29 100644 --- a/command/registry/login.go +++ b/command/registry/login.go @@ -23,7 +23,7 @@ func NewLoginCommand(dockerCli *command.DockerCli) *cobra.Command { cmd := &cobra.Command{ Use: "login [OPTIONS] [SERVER]", - Short: "Log in to a Docker registry.", + Short: "Log in to a Docker registry", Long: "Log in to a Docker registry.\nIf no server is specified, the default is defined by the daemon.", Args: cli.RequiresMaxArgs(1), RunE: func(cmd *cobra.Command, args []string) error { diff --git a/command/registry/logout.go b/command/registry/logout.go index a735818049..8e820dcc8c 100644 --- a/command/registry/logout.go +++ b/command/registry/logout.go @@ -15,7 +15,7 @@ import ( func NewLogoutCommand(dockerCli *command.DockerCli) *cobra.Command { cmd := &cobra.Command{ Use: "logout [SERVER]", - Short: "Log out from a Docker registry.", + Short: "Log out from a Docker registry", Long: "Log out from a Docker registry.\nIf no server is specified, the default is defined by the daemon.", Args: cli.RequiresMaxArgs(1), RunE: func(cmd *cobra.Command, args []string) error {