fix(helm): fix persistent flags not being parsed

pull/1709/head
Adam Reese 8 years ago
parent 8a2516fcc1
commit 5961cc44b3

@ -63,7 +63,7 @@ func loadPlugins(baseCmd *cobra.Command, home helmpath.Home, out io.Writer) {
RunE: func(cmd *cobra.Command, args []string) error {
k, u := manuallyProcessArgs(args)
if err := cmd.ParseFlags(k); err != nil {
if err := cmd.Parent().ParseFlags(k); err != nil {
return err
}

Loading…
Cancel
Save