diff options
Diffstat (limited to 'src/cmd/go2go/doc.go')
-rw-r--r-- | src/cmd/go2go/doc.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/cmd/go2go/doc.go b/src/cmd/go2go/doc.go index c78fd9d6a4..059b91b0bb 100644 --- a/src/cmd/go2go/doc.go +++ b/src/cmd/go2go/doc.go @@ -7,7 +7,7 @@ // // Usage: // -// go2go [options] <command> [arguments] +// go2go [options] <command> [go2go flags] [arguments] // // Commands: // @@ -25,6 +25,13 @@ // imports will be looked up in the usual way. If an import includes // .go2 files, they will be translated into .go files. // +// The go2go flags are shared by the build, run, test, and translate commands: +// +// -tags tag,list +// a comma-separated list of build tags to consider satisfied during the +// build. For more information about build tags, see the description of +// build constraints in the documentation for the go/build package. +// // There is a sample GO2PATH in cmd/go2go/testdata/go2path. It provides // several packages that serve as examples of using generics, and may // be useful in experimenting with your own generic code. |