aboutsummaryrefslogtreecommitdiff
path: root/flag.go
AgeCommit message (Expand)Author
2012-12-20Merge pull request #2 from alecthomas/masterAlex Ogier
2012-12-20Fix comment.Alec Thomas
2012-12-20Set interspersed behaviour via a setter.Alec Thomas
2012-12-19Add support for non-interspersed option/non-option args.Alec Thomas
2012-12-19Add missing VarP function for the default command lineAlex Ogier
2012-12-19Merge changes from Go's standard flag library.Alex Ogier
2012-05-09Tighten up parsing to be less ambiguous, follow GNU conventionsAlex Ogier
2012-05-09Add READMEAlex Ogier
2012-05-07Formatted with go fmtAlex Ogier
2012-05-04Fix up pflag's usage documentation, and reference GNU specAlex Ogier
2012-05-04s/shortcut/shorthand/Alex Ogier
2012-05-04Document the spaceless shortcut argument format -IfileAlex Ogier
2012-05-04Print defaults with nice spacing regardless of shortcutsAlex Ogier
2012-05-04Update package documentation for POSIX-style flagsAlex Ogier
2012-05-04Nicer error message for undefined flagsAlex Ogier
2012-04-30Mark flags as visited based on their nameAlex Ogier
2012-04-30Rename package flag --> pflagAlex Ogier
2012-04-30Oops, allocate memory for arguments, don't set them to ""Alex Ogier
2012-04-30Allow -Ifile, -n3 style shorthandAlex Ogier
2012-04-30Print out usage in the proper POSIX formatAlex Ogier
2012-04-30Modify flag parser to handle -shortcut and long --optionsAlex Ogier
2012-04-26Add Shortcut field to Flag, and *P() versions of flags that take shortcutsAlex Ogier
2012-04-26Copy the flag module from the go standard libraryAlex Ogier