jteeuwen/go-pkg-optarg — pull request #1 by jmoiron (2012-08-04 03:19:57+00:00)
Title: Add longformat-only options, Usage cleanups, custom Header Format

Add the ability to have options with only the longswitch, ie:

optargs.Add("", "--verbose", ...)

Updated Usage() to support the output of this better, findOption to not attempt to compare empty ShortName strings.

Also add the ability to set the header format via optargs.HeaderFmt.

Tests and documentation for all of this.