Merge pull request #1214 from anicoll/flag_lineage_fix

fix for parent context not setting child flags
This commit is contained in:
Robert Liebowitz
2021-01-28 23:16:40 -05:00
committed by GitHub
4 changed files with 99 additions and 3 deletions

View File

@@ -649,7 +649,7 @@ func main() {
app := &cli.App{
Action: func(c *cli.Context) error {
fmt.Println("yaml ist rad")
fmt.Println("--test value.*default: 0")
return nil
},
Before: altsrc.InitInputSourceWithContext(flags, altsrc.NewYamlSourceFromFlagFunc("load")),