mirror of
https://github.com/golang/go
synced 2024-11-15 06:50:32 -07:00
[release-branch.go1] flag: fix indexing doc.
««« backport 6ca4825bc867 flag: fix indexing doc. R=golang-dev, r CC=golang-dev https://golang.org/cl/6341046 »»»
This commit is contained in:
parent
a1bfd04394
commit
5ba3b575bb
@ -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