Skip to content

Commit 06f1602

Browse files
author
yupeng
committed
Align with other cli descriptions
Signed-off-by: yupeng <[email protected]>
1 parent 17aaa08 commit 06f1602

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

cli/command/registry/login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func NewLoginCommand(dockerCli *command.DockerCli) *cobra.Command {
2323

2424
cmd := &cobra.Command{
2525
Use: "login [OPTIONS] [SERVER]",
26-
Short: "Log in to a Docker registry.",
26+
Short: "Log in to a Docker registry",
2727
Long: "Log in to a Docker registry.\nIf no server is specified, the default is defined by the daemon.",
2828
Args: cli.RequiresMaxArgs(1),
2929
RunE: func(cmd *cobra.Command, args []string) error {

cli/command/registry/logout.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
func NewLogoutCommand(dockerCli *command.DockerCli) *cobra.Command {
1616
cmd := &cobra.Command{
1717
Use: "logout [SERVER]",
18-
Short: "Log out from a Docker registry.",
18+
Short: "Log out from a Docker registry",
1919
Long: "Log out from a Docker registry.\nIf no server is specified, the default is defined by the daemon.",
2020
Args: cli.RequiresMaxArgs(1),
2121
RunE: func(cmd *cobra.Command, args []string) error {

cmd/docker/docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func newDockerCommand(dockerCli *command.DockerCli) *cobra.Command {
2323

2424
cmd := &cobra.Command{
2525
Use: "docker [OPTIONS] COMMAND [arg...]",
26-
Short: "A self-sufficient runtime for containers.",
26+
Short: "A self-sufficient runtime for containers",
2727
SilenceUsage: true,
2828
SilenceErrors: true,
2929
TraverseChildren: true,

0 commit comments

Comments
 (0)