]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix indentation of -workfile help text
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 23 Sep 2021 10:46:28 +0000 (11:46 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 23 Sep 2021 16:08:00 +0000 (16:08 +0000)
While reading the help text for #48576,
I noticed that the output was misaligned.

Turns out it's because two lines have space indentation,
while the rest use tab indentation. Fix that.

Change-Id: Ie7c473d892ca13852fa2134f3cdef21e9210e02e
Reviewed-on: https://go-review.googlesource.com/c/go/+/351750
Trust: Daniel Martí <mvdan@mvdan.cc>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
src/cmd/go/alldocs.go
src/cmd/go/internal/work/build.go

index 744d462c0057d5cbc4f233996acb29c6a3312e8e..0036d8615fe38b3c36cdbf5108757395ae230c97 100644 (file)
 //             directory, but it is not accessed. When -modfile is specified, an
 //             alternate go.sum file is also used: its path is derived from the
 //             -modfile flag by trimming the ".mod" extension and appending ".sum".
-//   -workfile file
-//     in module aware mode, use the given go.work file as a workspace file.
+//     -workfile file
+//             in module aware mode, use the given go.work file as a workspace file.
 //             By default or when -workfile is "auto", the go command searches for a
 //             file named go.work in the current directory and then containing directories
 //             until one is found. If a valid go.work file is found, the modules
index e5d7f4a8fd1c0430e1c9849d2b045d6157791edf..55e4954eee57ae6f5da8b861d018ef0c8f5cab0b 100644 (file)
@@ -121,8 +121,8 @@ and test commands:
                directory, but it is not accessed. When -modfile is specified, an
                alternate go.sum file is also used: its path is derived from the
                -modfile flag by trimming the ".mod" extension and appending ".sum".
-  -workfile file
-    in module aware mode, use the given go.work file as a workspace file.
+       -workfile file
+               in module aware mode, use the given go.work file as a workspace file.
                By default or when -workfile is "auto", the go command searches for a
                file named go.work in the current directory and then containing directories
                until one is found. If a valid go.work file is found, the modules