aboutsummaryrefslogtreecommitdiff
path: root/src/flag
diff options
context:
space:
mode:
authorAaron Jacobs <jacobsa@google.com>2015-05-19 10:47:24 +1000
committerAndrew Gerrand <adg@golang.org>2015-05-19 02:18:40 +0000
commitb21ff39679486c03648b1abda7ce206fcf09bc36 (patch)
tree03a9abb82327d47d4b5010752e5a42540a587277 /src/flag
parent82833b313e5e23f67d5ed1141d9a2464bf78f277 (diff)
downloadgo-b21ff39679486c03648b1abda7ce206fcf09bc36.tar.gz
go-b21ff39679486c03648b1abda7ce206fcf09bc36.zip
flag: Fix up a package comment a bit.
I think "the flag" was a typo, and the word "after" was repetitive. Change-Id: I81c034ca11a3a778ff1eb4b3af5b96bc525ab985 Reviewed-on: https://go-review.googlesource.com/10195 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/flag')
-rw-r--r--src/flag/flag.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flag/flag.go b/src/flag/flag.go
index 4e4279069f..060660248e 100644
--- a/src/flag/flag.go
+++ b/src/flag/flag.go
@@ -31,7 +31,7 @@
fmt.Println("ip has value ", *ip)
fmt.Println("flagvar has value ", flagvar)
- After parsing, the arguments after the flag are available as the
+ After parsing, the arguments following the flags are available as the
slice flag.Args() or individually as flag.Arg(i).
The arguments are indexed from 0 through flag.NArg()-1.