From e81fafeefacfd0a0763f5fcf651270efbdef93ec Mon Sep 17 00:00:00 2001 From: Sander van Harmelen Date: Sun, 4 Aug 2019 10:18:09 +0200 Subject: [PATCH] Mention the -no-color option This option is a valid option for the fmt subcommand, but it isn't listed in the help text. --- command/fmt.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/command/fmt.go b/command/fmt.go index 427f5fbd9..df51e8887 100644 --- a/command/fmt.go +++ b/command/fmt.go @@ -290,6 +290,8 @@ Options: -check Check if the input is formatted. Exit status will be 0 if all input is properly formatted and non-zero otherwise. + -no-color If specified, output won't contain any color. + -recursive Also process files in subdirectories. By default, only the given directory (or current directory) is processed. `