Skip to content

Commit

Permalink
flag: fix headers in documentation, again
Browse files Browse the repository at this point in the history
Godoc expects text after a header, not code.

Change-Id: I99f412ad15e10bf9cea0dbd19019ed6ce477736c
Reviewed-on: https://go-review.googlesource.com/117595
Reviewed-by: Rob Pike <[email protected]>
  • Loading branch information
dominikh committed Jun 14, 2018
1 parent d7f874f commit 7bab1ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/flag/flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7bab1ee

Please sign in to comment.