don't conflict -h
This commit is contained in:
parent
d35dfd0a56
commit
364e3d90f1
|
@ -4,7 +4,7 @@ commandline:
|
|||
option hostname, string, "hostname", "h"
|
||||
option optPort, int, "port", "p"
|
||||
option admin, bool, "admin", ""
|
||||
exitoption "help", "h",
|
||||
exitoption "help", "",
|
||||
"Usage: redis-cli [--admin|--help|--hostname=<string>|--port=<int>]"
|
||||
errormsg "Invalid options: please read help."
|
||||
|
||||
|
|
Loading…
Reference in New Issue