Skip to content

Commit

Permalink
Fix cr commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhbert authored and distorhead committed Oct 12, 2022
1 parent 9529d91 commit 1f6ce1c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions cmd/werf/cr/login/login.go
Expand Up @@ -31,8 +31,8 @@ func NewCmd(ctx context.Context) *cobra.Command {
ctx = common.NewContextWithCmdData(ctx, &commonCmdData)
cmd := common.SetCommandContext(ctx, &cobra.Command{
Use: "login registry",
Short: "Login into remote registry",
Long: common.GetLongCommandDescription(`Login into remote registry`),
Short: "Login into remote registry.",
Long: common.GetLongCommandDescription(`Login into remote registry.`),
Example: `# Login with username and password from command line
werf cr login -u username -p password registry.example.com
Expand Down
4 changes: 2 additions & 2 deletions cmd/werf/cr/logout/logout.go
Expand Up @@ -20,8 +20,8 @@ func NewCmd(ctx context.Context) *cobra.Command {
ctx = common.NewContextWithCmdData(ctx, &commonCmdData)
cmd := common.SetCommandContext(ctx, &cobra.Command{
Use: "logout registry",
Short: "Logout from a remote registry",
Long: common.GetLongCommandDescription(`Logout from a remote registry`),
Short: "Logout from a remote registry.",
Long: common.GetLongCommandDescription(`Logout from a remote registry.`),
DisableFlagsInUseLine: true,
RunE: func(cmd *cobra.Command, args []string) error {
ctx := cmd.Context()
Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/reference/cli/werf_cr_login.md
Expand Up @@ -3,7 +3,7 @@
{% else %}
{% assign header = "###" %}
{% endif %}
Login into remote registry
Login into remote registry.

{{ header }} Syntax

Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/reference/cli/werf_cr_login.short.md
@@ -1 +1 @@
login into remote registry
login into remote registry.
2 changes: 1 addition & 1 deletion docs/_includes/reference/cli/werf_cr_logout.md
Expand Up @@ -3,7 +3,7 @@
{% else %}
{% assign header = "###" %}
{% endif %}
Logout from a remote registry
Logout from a remote registry.

{{ header }} Syntax

Expand Down
2 changes: 1 addition & 1 deletion docs/_includes/reference/cli/werf_cr_logout.short.md
@@ -1 +1 @@
logout from a remote registry
logout from a remote registry.

0 comments on commit 1f6ce1c

Please sign in to comment.