summaryrefslogtreecommitdiff
path: root/src/lib/flag.go
AgeCommit message (Expand)AuthorFilesLines
2009-03-04flag: documentRob Pike1-9/+45
2009-03-03Automated g4 rollback of changelist 25024,Russ Cox1-8/+8
2009-02-16use proper strconv in string values.Rob Pike1-53/+20
2009-02-16make interface to the flags themselves more public.Rob Pike1-55/+83
2009-02-13convert composite literals from { } to ( ).Russ Cox1-7/+7
2009-02-04clean up flags package a bit.Rob Pike1-28/+31
2009-01-20delete exportRuss Cox1-19/+19
2009-01-16casify, cleanup sysRuss Cox1-10/+10
2009-01-16casify flag.Rob Pike1-14/+5
2009-01-15more casifying fixupsRob Pike1-71/+71
2009-01-15printf->Printf etc.Rob Pike1-6/+6
2009-01-09simplify flag interface. no more BVal etc. you just get a pointer.Rob Pike1-192/+157
2009-01-06new new & makeRuss Cox1-4/+4
2008-12-19change *map to map; *chan to chan; new(T) to new(*T)Russ Cox1-4/+4
2008-11-18stop flag reading before lone - arg.Russ Cox1-2/+5
2008-10-29update Fmt interface: d=int, ud=uint, d32=int32, d64=int64, etc.Russ Cox1-1/+1
2008-10-29adapt to new compiler typesRuss Cox1-1/+1
2008-10-24- set initial value in flag variable if providedRobert Griesemer1-1/+10
2008-10-23use &T{1,2,3} constructor for simple new casesRuss Cox1-22/+12
2008-10-07remove uses of *T as an implicit forward declaration of TRuss Cox1-0/+6
2008-10-07update code to follow new semicolon rules:Russ Cox1-6/+6
2008-09-19more nuanced handling of usage message to allow user control.Rob Pike1-16/+28
2008-09-11fixes for funcs without returnsRob Pike1-3/+1
2008-08-11- changed go-in-go parser to require ()'s for panic and printRobert Griesemer1-13/+13
2008-08-04- switched most of existing Go code to new export syntaxRobert Griesemer1-11/+11
2008-07-24add usage messageRob Pike1-14/+47
2008-07-23Add a flags package.Rob Pike1-0/+439