flags : Help outputs a positional spec as well

This commit is contained in:
bth 2026-01-18 15:36:12 -08:00
commit 1fed129838
2 changed files with 8 additions and 2 deletions

View file

@ -37,7 +37,7 @@ func parseArgs(args []string) options {
}
opts.Key.Val = args[i+1]
case arg == opts.Help.Long || arg == opts.Help.Short:
flags.Help("tag", opts)
flags.Help("sort", opts)
return opts
}
}