]> Cypherpunks repositories - gostls13.git/commitdiff
flag: fix headers in documentation, again
authorDominik Honnef <dominik@honnef.co>
Sat, 9 Jun 2018 00:39:06 +0000 (02:39 +0200)
committerDominik Honnef <dominik@honnef.co>
Thu, 14 Jun 2018 02:58:06 +0000 (02:58 +0000)
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>
src/flag/flag.go

index 188adb285f4a9eeada62028fb3e1e3074c9713b7..2cd7829c1a69b8230ff74a88246a04bb62cf26ad 100644 (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