Skip to content

Commit

Permalink
fixes 'findApi' when the help command is used
Browse files Browse the repository at this point in the history
  • Loading branch information
james-maloney committed Jan 23, 2023
1 parent 7fbd5a7 commit e9efd78
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,7 @@ func Run() error {
viper.Set("rsh-header", headers)
}
profile, _ := GlobalFlags.GetString("rsh-profile")
viper.Set("rsh-profile", profile)

// Now that global flags are parsed we can enable verbose mode if requested.
if viper.GetBool("rsh-verbose") {
Expand Down

0 comments on commit e9efd78

Please sign in to comment.