get rid of this unused --buffer option

this was used in an earlier version of the program, but it no longer has
any kind of meaning
master
Jordan Orelli 10 years ago
parent c2f19e61ef
commit ed78186fdc

@ -18,7 +18,6 @@ var options struct {
host string host string
port int port int
password string password string
buffer int
pipe bool pipe bool
profile string profile string
verbose bool verbose bool
@ -246,7 +245,6 @@ func init() {
flag.StringVar(&options.host, "h", "127.0.0.1", "hostname") flag.StringVar(&options.host, "h", "127.0.0.1", "hostname")
flag.IntVar(&options.port, "p", 6379, "port") flag.IntVar(&options.port, "p", 6379, "port")
flag.StringVar(&options.password, "a", "", "password") flag.StringVar(&options.password, "a", "", "password")
flag.IntVar(&options.buffer, "buffer", 0, "number of outstanding statements allowed before throttling")
flag.BoolVar(&options.pipe, "pipe", false, "transfers input from stdin to server") flag.BoolVar(&options.pipe, "pipe", false, "transfers input from stdin to server")
flag.StringVar(&options.profile, "profile", "", "pprof file output for performance debugging") flag.StringVar(&options.profile, "profile", "", "pprof file output for performance debugging")
flag.BoolVar(&options.verbose, "v", false, "verbose mode (prints all requests and responses)") flag.BoolVar(&options.verbose, "v", false, "verbose mode (prints all requests and responses)")

Loading…
Cancel
Save