]> Cypherpunks.ru repositories - gostls13.git/commitdiff
flag: Fix up a package comment a bit.
authorAaron Jacobs <jacobsa@google.com>
Tue, 19 May 2015 00:47:24 +0000 (10:47 +1000)
committerAndrew Gerrand <adg@golang.org>
Tue, 19 May 2015 02:18:40 +0000 (02:18 +0000)
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>
src/flag/flag.go

index 4e4279069f00923e04fa306547f5ee3f6c589a25..060660248efe3916f98fabf05740c089a55d93f6 100644 (file)
@@ -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.