Skip to content

Commit

Permalink
revert explicit root
Browse files Browse the repository at this point in the history
  • Loading branch information
rsteube committed Apr 17, 2021
1 parent ef76fce commit 2c87a41
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ require (
github.com/mitchellh/go-homedir v1.1.0
github.com/muesli/termenv v0.7.4
github.com/rivo/uniseg v0.1.0
github.com/rsteube/carapace v0.6.0
github.com/rsteube/carapace v0.5.6
github.com/shurcooL/githubv4 v0.0.0-20200928013246-d292edc3691b
github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f
github.com/spf13/cobra v1.1.1
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ github.com/rivo/uniseg v0.1.0 h1:+2KBaVoUmb9XzDsrx/Ct0W/EYOSFf/nWTauy++DprtY=
github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
github.com/rsteube/carapace v0.6.0 h1:Np4t/43MrI3nSToX33hqMPZDxNSXEAPIj0WlXL5xIps=
github.com/rsteube/carapace v0.6.0/go.mod h1:KFUcTCOChx8NdnMn7+l/3/ty+BLt+I3ciWnBwoT/OQk=
github.com/rsteube/carapace v0.5.6 h1:Zcc9a+DTh0n6urhI25VfZsii5LowSBbK485TYdzMxFo=
github.com/rsteube/carapace v0.5.6/go.mod h1:KFUcTCOChx8NdnMn7+l/3/ty+BLt+I3ciWnBwoT/OQk=
github.com/russross/blackfriday/v2 v2.0.1 h1:lPqVAte+HuHNfhJ/0LC98ESWRz8afy9tM/0RK8m9o+Q=
github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmdutil/completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
// InitCompletions finalizes completion configuration
// TODO move to root cmd
func InitCompletions(cmd *cobra.Command) {
carapace.Gen(cmd).Root()
carapace.Gen(cmd)
addAliasCompletion(cmd)
}

Expand Down

0 comments on commit 2c87a41

Please sign in to comment.