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:
parent
93b7d1bf1e
commit
c123c6c3f6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user