package common import ( "fmt" "os" ) func Fatal(msg string) { fmt.Fprintf(os.Stderr, "fatal: %s\n", msg) os.Exit(-1) } func Usage() { fmt.Fprintf(os.Stderr, ` maraudir -l, --list -r, --range -p, --pathlist -t, --threads [100] --timeout [1000] --delay [200] -s, --silent [false] --useragent [a googlebot one] results are written to stdout and can be piped accordingly, verbosity is directed to stderr when silent is not set `) os.Exit(1) }