aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/asm/internal/flags/flags.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/asm/internal/flags/flags.go')
-rw-r--r--src/cmd/asm/internal/flags/flags.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cmd/asm/internal/flags/flags.go b/src/cmd/asm/internal/flags/flags.go
index 1335860315..dd947c7b5b 100644
--- a/src/cmd/asm/internal/flags/flags.go
+++ b/src/cmd/asm/internal/flags/flags.go
@@ -32,11 +32,13 @@ var (
D MultiFlag
I MultiFlag
PrintOut int
+ DebugV bool
)
func init() {
flag.Var(&D, "D", "predefined symbol with optional simple value -D=identifier=value; can be set multiple times")
flag.Var(&I, "I", "include directory; can be set multiple times")
+ flag.BoolVar(&DebugV, "v", false, "print debug output")
objabi.AddVersionFlag() // -V
objabi.Flagcount("S", "print assembly and machine code", &PrintOut)
}