Skip to content

Commit

Permalink
Fixed users/buckets having duplicate aliases for 'ls'.
Browse files Browse the repository at this point in the history
  • Loading branch information
brett19 committed Sep 27, 2023
1 parent a28e208 commit 817a45e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions cmd/buckets-add.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ import (
)

var bucketsAddCmd = &cobra.Command{
Use: "add",
Aliases: []string{"ls"},
Short: "Adds a new bucket",
Args: cobra.MinimumNArgs(2),
Use: "add",
Short: "Adds a new bucket",
Args: cobra.MinimumNArgs(2),
Run: func(cmd *cobra.Command, args []string) {
helper := CmdHelper{}
logger := helper.GetLogger()
Expand Down
7 changes: 3 additions & 4 deletions cmd/users-add.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ import (
)

var usersAddCmd = &cobra.Command{
Use: "add",
Aliases: []string{"ls"},
Short: "Adds a new user",
Args: cobra.MinimumNArgs(2),
Use: "add",
Short: "Adds a new user",
Args: cobra.MinimumNArgs(2),
Run: func(cmd *cobra.Command, args []string) {
helper := CmdHelper{}
logger := helper.GetLogger()
Expand Down

0 comments on commit 817a45e

Please sign in to comment.