mirror of
https://github.com/golang/go
synced 2024-11-26 19:51:17 -07:00
cbbc6a102d
This CL adds a flag parser that matches the semantics of Go's package flag. It also changes the linkers and compilers to use the new flag parser. Command lines that used to work, like 8c -FVw 6c -Dfoo 5g -I/foo/bar now need to be split into separate arguments: 8c -F -V -w 6c -D foo 5g -I /foo/bar The new spacing will work with both old and new tools. The new parser also allows = for arguments, as in 6c -D=foo 5g -I=/foo/bar but that syntax will not work with the old tools. In addition to matching standard Go binary flag parsing, the new flag parser generates more detailed usage messages and opens the door to long flag names. The recently added gc flag -= has been renamed -complete. R=remyoudompheng, daniel.morsing, minux.ma, iant CC=golang-dev https://golang.org/cl/7035043 |
||
---|---|---|
.. | ||
plan9 | ||
ar.h | ||
bio.h | ||
bootexec.h | ||
fmt.h | ||
libc.h | ||
mach.h | ||
u.h | ||
ureg_amd64.h | ||
ureg_arm.h | ||
ureg_x86.h | ||
utf.h |