Skip to content

Commit

Permalink
keep consistent with other subcommands
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Martin <[email protected]>
  • Loading branch information
amartin120 committed Dec 5, 2023
1 parent 93ae968 commit e2176d2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions cmd/hauler/cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func New() *cobra.Command {
addStore(cmd)
addServe(cmd)
addVersion(cmd)
addCompletion(cmd)

return cmd
}
7 changes: 0 additions & 7 deletions cmd/hauler/cli/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@ import (
"github.com/spf13/cobra"
)

var cmd = &cobra.Command{
Use: "completion",
Short: "Generates completion scripts for various shells",
Long: `The completion sub-command generates completion scripts for various shells.`,
}


func addCompletion(parent *cobra.Command) {
cmd := &cobra.Command{
Use: "completion",
Expand Down

0 comments on commit e2176d2

Please sign in to comment.