Skip to content

Commit a5bae2f

Browse files
Merge pull request #172 from james-maloney/main
fixes 'findApi' when the help command is used
2 parents 1650eae + e9efd78 commit a5bae2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/cli.go

+1
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,7 @@ func Run() (returnErr error) {
736736
viper.Set("rsh-header", headers)
737737
}
738738
profile, _ := GlobalFlags.GetString("rsh-profile")
739+
viper.Set("rsh-profile", profile)
739740

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

0 commit comments

Comments
 (0)