Commit c123c6c3 authored by David Symonds's avatar David Symonds

flag: fix indexing doc.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6341046
parent 93b7d1bf
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
After parsing, the arguments after the flag are available as the After parsing, the arguments after the flag are available as the
slice flag.Args() or individually as flag.Arg(i). 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: Command line flag syntax:
-flag -flag
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment