Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from Kemipso/filterBindsFix
Browse files Browse the repository at this point in the history
Update root.go - Fix for filter-binds
  • Loading branch information
NotAShelf authored Aug 25, 2023
2 parents 1eba6ea + 5038c4d commit 1deb310
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func init() {
rootCmd.Flags().BoolVarP(&conf.Keywords, "keywords", "k", false, "Show keywords")
rootCmd.Flags().BoolVarP(&conf.Comments, "comments", "l", false, "Show comments in output")

rootCmd.Flags().StringP("filter-binds", "f", "", "get binding where command or dispatcher contains given string")
rootCmd.Flags().StringVarP(&conf.FilterBinds,"filter-binds", "f", "", "Filter binds where command or dispatcher contains given string")
}

func run(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit 1deb310

Please sign in to comment.