1
0
mirror of https://github.com/golang/go synced 2024-11-20 11:04:56 -07:00

flag: fix indexing doc.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6341046
This commit is contained in:
David Symonds 2012-06-24 12:23:51 -07:00
parent 93b7d1bf1e
commit c123c6c3f6

View File

@ -33,7 +33,7 @@
After parsing, the arguments after the flag are available as the
slice flag.Args() or individually as flag.Arg(i).
The arguments are indexed from 0 up to flag.NArg().
The arguments are indexed from 0 through flag.NArg()-1.
Command line flag syntax:
-flag