diff options
author | Aaron Jacobs <jacobsa@google.com> | 2015-05-19 10:47:24 +1000 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2015-05-19 02:18:40 +0000 |
commit | b21ff39679486c03648b1abda7ce206fcf09bc36 (patch) | |
tree | 03a9abb82327d47d4b5010752e5a42540a587277 /src/flag | |
parent | 82833b313e5e23f67d5ed1141d9a2464bf78f277 (diff) | |
download | go-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.go | 2 |
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. |