Browse Source

main: fix outdated panic option text

pull/470/head
Justin Clift 5 years ago
committed by Ron Evans
parent
commit
f76385850d
  1. 2
      compiler/compiler.go
  2. 2
      main.go

2
compiler/compiler.go

@ -38,7 +38,7 @@ type Config struct {
GOOS string //
GOARCH string //
GC string // garbage collection strategy
PanicStrategy string // panic strategy ("abort" or "trap")
PanicStrategy string // panic strategy ("print" or "trap")
CFlags []string // cflags to pass to cgo
LDFlags []string // ldflags to pass to cgo
ClangHeaders string // Clang built-in header include path

2
main.go

@ -617,7 +617,7 @@ func main() {
outpath := flag.String("o", "", "output filename")
opt := flag.String("opt", "z", "optimization level: 0, 1, 2, s, z")
gc := flag.String("gc", "", "garbage collector to use (none, leaking, conservative)")
panicStrategy := flag.String("panic", "print", "panic strategy (abort, trap)")
panicStrategy := flag.String("panic", "print", "panic strategy (print, trap)")
printIR := flag.Bool("printir", false, "print LLVM IR")
dumpSSA := flag.Bool("dumpssa", false, "dump internal Go SSA")
tags := flag.String("tags", "", "a space-separated list of extra build tags")

Loading…
Cancel
Save