1
0
mirror of https://github.com/golang/go synced 2024-11-23 14:50:07 -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:
Dominik Honnef 2018-06-09 02:39:06 +02:00
parent d7f874fef6
commit 7bab1ee5e0

View File

@ -36,6 +36,9 @@
The arguments are indexed from 0 through flag.NArg()-1.
Command line flag syntax
The following forms are permitted:
-flag
-flag=x
-flag x // non-boolean flags only