mirror of
https://github.com/golang/go
synced 2024-11-23 19:30:05 -07:00
flag: fix headers in documentation, again
Godoc expects text after a header, not code. Change-Id: I99f412ad15e10bf9cea0dbd19019ed6ce477736c Reviewed-on: https://go-review.googlesource.com/117595 Reviewed-by: Rob Pike <r@golang.org>
This commit is contained in:
parent
d7f874fef6
commit
7bab1ee5e0
@ -36,6 +36,9 @@
|
|||||||
The arguments are indexed from 0 through flag.NArg()-1.
|
The arguments are indexed from 0 through flag.NArg()-1.
|
||||||
|
|
||||||
Command line flag syntax
|
Command line flag syntax
|
||||||
|
|
||||||
|
The following forms are permitted:
|
||||||
|
|
||||||
-flag
|
-flag
|
||||||
-flag=x
|
-flag=x
|
||||||
-flag x // non-boolean flags only
|
-flag x // non-boolean flags only
|
||||||
|
Loading…
Reference in New Issue
Block a user