Skip to content

Commit

Permalink
fix: register argon2 CLI commands properly (#1592)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickUfer committed Jul 25, 2021
1 parent 1bfd22b commit 45c28d9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/hashers/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ func NewRootCmd() *cobra.Command {
}

func RegisterCommandRecursive(parent *cobra.Command) {
parent.AddCommand(NewRootCmd())
rootCmd := NewRootCmd()
parent.AddCommand(rootCmd)

argon2.RegisterCommandRecursive(NewRootCmd())
argon2.RegisterCommandRecursive(rootCmd)
}

0 comments on commit 45c28d9

Please sign in to comment.