If you look at the final code at http://golang.org/doc/articles/wiki/final.go you'll see that addr
is defined as a flag.Bool
. This is a command line flag from the flag
package.
Lines 17 - 19:
var (
addr = flag.Bool("addr", false, "find open address and print to final-port.txt")
)