From 7bab1ee5e0be7955e298eb956b7ddc921803e84f Mon Sep 17 00:00:00 2001 From: Dominik Honnef Date: Sat, 9 Jun 2018 02:39:06 +0200 Subject: [PATCH] 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 --- src/flag/flag.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/flag/flag.go b/src/flag/flag.go index 188adb285f..2cd7829c1a 100644 --- a/src/flag/flag.go +++ b/src/flag/flag.go @@ -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 -- 2.48.1