Pointers and nils again

This commit is contained in:
2022-06-07 09:47:12 -04:00
parent d0c96803c8
commit 30449ba506
5 changed files with 22 additions and 29 deletions

View File

@@ -16,7 +16,7 @@ func main() {
log.SetFlags(0)
pCfg := argh.NewParserConfig()
pCfg.Prog = argh.CommandConfig{
pCfg.Prog = &argh.CommandConfig{
NValue: argh.OneOrMoreValue,
ValueNames: []string{"topping"},
Flags: &argh.Flags{