mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
-h is now alias for --help when running redis-server.
This commit is contained in:
parent
39ca1713d7
commit
4c8bd905a0
@ -2011,7 +2011,8 @@ int main(int argc, char **argv) {
|
||||
if (argc == 2) {
|
||||
if (strcmp(argv[1], "-v") == 0 ||
|
||||
strcmp(argv[1], "--version") == 0) version();
|
||||
if (strcmp(argv[1], "--help") == 0) usage();
|
||||
if (strcmp(argv[1], "--help") == 0 ||
|
||||
strcmp(argv[1], "-h") == 0) usage();
|
||||
resetServerSaveParams();
|
||||
loadServerConfig(argv[1]);
|
||||
} else if ((argc > 2)) {
|
||||
|
Loading…
Reference in New Issue
Block a user