Skip to content

Commit

Permalink
Merge pull request #172 from james-maloney/main
Browse files Browse the repository at this point in the history
fixes 'findApi' when the help command is used
  • Loading branch information
danielgtaylor committed Jan 24, 2023
2 parents 1650eae + e9efd78 commit a5bae2f
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 @@ -736,6 +736,7 @@ func Run() (returnErr 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 a5bae2f

Please sign in to comment.