diff options
author | Than McIntosh <thanm@google.com> | 2020-10-20 09:06:42 -0400 |
---|---|---|
committer | Than McIntosh <thanm@google.com> | 2020-10-20 17:47:31 +0000 |
commit | d595712540f00d980b1276ed25495ee7e05c1bfa (patch) | |
tree | b9311b101960b91fad86263f65c974269b40e27d /src/cmd/asm | |
parent | f62d3202bf9dbb3a00ad2a2c63ff4fa4188c5d3b (diff) | |
download | go-d595712540f00d980b1276ed25495ee7e05c1bfa.tar.gz go-d595712540f00d980b1276ed25495ee7e05c1bfa.zip |
cmd/asm: rename "compiling runtime" flag
Rename the assembler "-compilingRuntime" flag to "-compiling-runtime",
to be more consistent with the flag style of other Go commands.
Change-Id: I8cc5cbf0b9b34d1dd4e9fa499d3fec8c1ef10b6e
Reviewed-on: https://go-review.googlesource.com/c/go/+/263857
Trust: Than McIntosh <thanm@google.com>
Run-TryBot: Than McIntosh <thanm@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/cmd/asm')
-rw-r--r-- | src/cmd/asm/internal/flags/flags.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/asm/internal/flags/flags.go b/src/cmd/asm/internal/flags/flags.go index 0765439959..426e0156aa 100644 --- a/src/cmd/asm/internal/flags/flags.go +++ b/src/cmd/asm/internal/flags/flags.go @@ -24,7 +24,7 @@ var ( SymABIs = flag.Bool("gensymabis", false, "write symbol ABI information to output file, don't assemble") Importpath = flag.String("p", "", "set expected package import to path") Spectre = flag.String("spectre", "", "enable spectre mitigations in `list` (all, ret)") - CompilingRuntime = flag.Bool("compilingRuntime", false, "source to be compiled is part of the Go runtime") + CompilingRuntime = flag.Bool("compiling-runtime", false, "source to be compiled is part of the Go runtime") ) var ( |