Sign in
go
/
go
/
1deae0b59747ea87d0ef02b6dfdfbbdf5e7bcee8
/
src
/
flag
1b09d43
all: update references to symbols moved from io/ioutil to io
by Russ Cox
· 4 years, 6 months ago
1632851
flag: add Func
by Carl Johnson
· 4 years, 7 months ago
e31d741
flag: fix TestExitCode on Plan 9
by David du Colombier
· 5 years ago
dcf0929
flag: exit 0 when -h or -help invoked but undefined
by Shang Jian Ding
· 5 years ago
5b15941
flag: changed flag variable name in package doc, for clarity
by yuz
· 5 years ago
1178269
flag: update comment to refer to Output, not out
by Ian Lance Taylor
· 5 years ago
e9f8d67
flag: clarify that a flag cannot be re-defined
by Agniva De Sarker
· 5 years ago
e6ad619
cmd/go: further reduce init work
by Daniel Martí
· 6 years ago
e308807
flag: improve docs for PrintDefaults; clarify how to change output destination
by Aaron Cannon
· 6 years ago
ae0c435
flag: return a consistent parse error if the flag value is invalid
by Rob Pike
· 6 years ago
da0d1a4
all: use strings.ReplaceAll and bytes.ReplaceAll where applicable
by Brad Fitzpatrick
· 7 years ago
6c81002
flag: add a Value example
by Terin Stock
· 7 years ago
7bab1ee
flag: fix headers in documentation, again
by Dominik Honnef
· 7 years ago
e5f0c1f
flag: removed the colon after "Usage" in the documentation
by hellozee
· 7 years ago
3c588b3
flag: correct zero values when printing defaults
by jimmyfrasche
· 7 years ago
70afd51
flag: document use of FlagSet name parameter
by Ian Lance Taylor
· 7 years ago
ef544b6
flag: clarify comment to avoid shell syntax confusion
by Ian Lance Taylor
· 7 years ago
99be9cc
flag: add (*FlagSet).Name, (*FlagSet).ErrorHandling, export (*FlagSet).Output
by Tim Cooper
· 7 years ago
5f740d6
flag: simplify switch-case in isZeroValue
by Gabriel Aszalos
· 7 years ago
0828ec1
flag: align multi-line usage strings
by Tim Cooper
· 8 years ago
2d362f7
flag: simplify arg logic in parseOne
by alexpantyukhin
· 8 years ago
305fd91
flag: document that custom usage functions are free to call os.Exit
by Rob Pike
· 8 years ago
99da873
all: remove some double spaces from comments
by Daniel Martí
· 8 years ago
e1f38cc
flag: make default Usage prefer CommandLine's output over just os.Stderr
by Brad Fitzpatrick
· 8 years ago
c65ceff
flag: validate Int and Uint values to be in range
by Brad Fitzpatrick
· 8 years ago
4954369
flag: arrange for FlagSet.Usage to be non-nil by default
by Russ Cox
· 8 years ago
e273a27
flag: use strconv instead of fmt in values' String funcs
by bogem
· 9 years ago
8050782
flag: improve comment for calling String with zero value
by Ian Lance Taylor
· 9 years ago
5e66ac9
flag: document that Value.String must work on the zero value
by Ian Lance Taylor
· 9 years ago
3659645
flag: recognize "0s" as the zero value for a flag.Duration
by Ian Lance Taylor
· 9 years ago
7018408
flag: update test case (fix build)
by Robert Griesemer
· 9 years ago
5fea2cc
all: single space after period.
by Brad Fitzpatrick
· 9 years ago
5194744
all: make copyright headers consistent with one space after period
by Brad Fitzpatrick
· 9 years ago
b0834b5
flag: add comment stating that Set is called in sequence across the command line
by Rob Pike
· 10 years ago
4735002
flag: Clarifies docs for Arg(int) and FlagSet.Arg(int)
by Hariharan Srinath
· 10 years ago
4b6284a
flag: Describe the ErrorHandling enum values.
by Aaron Jacobs
· 10 years ago
b21ff39
flag: Fix up a package comment a bit.
by Aaron Jacobs
· 10 years ago
2adc4e8
all: use "reports whether" in place of "returns true if(f)"
by Josh Bleecher Snyder
· 10 years ago
d022266
flag: use four spaces before tab, not three
by Russ Cox
· 10 years ago
51d6660
flag: nicer usage messages
by Rob Pike
· 10 years ago
bc611a3
flag: Check for Set error
by Michalis Kargakis
· 10 years ago
f34964e
flag: Some idiomatic fixes
by Michalis Kargakis
· 10 years ago
9070afb
flag: roll back 156390043 (flag setting)
by Rob Pike
· 10 years ago
8c29633
flag: disallow setting flags multiple times
by Rob Pike
· 10 years ago
b2487ef
flag: allow CommandLine's Usage function to be set
by Rob Pike
· 11 years ago
c007ce8
build: move package sources from src/pkg to src
by Russ Cox
· 11 years ago