hufei01 / redis

Automatically exported from code.google.com/p/redis
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Passing the --help parameter to redis-server could print the usage message. #194

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. redis-server --help

What is the expected output? What do you see instead?

I would expect this to happen:

$ ./redis-server --help
Usage: ./redis-server [/path/to/redis.conf]

But this happens instead:

$ ./redis-server --help
[5005] 19 Mar 01:34:13 # Fatal error, can't open config file

What version of the product are you using? On what operating system?

GNU/Linux (Ubuntu 9.10)

Original issue reported on code.google.com by gnr...@gmail.com on 19 Mar 2010 at 6:35

GoogleCodeExporter commented 9 years ago
Just sent a pull request for this to antirez over Github:

http://github.com/gnrfan/redis/compare/master...issue_194

Original comment by gnr...@gmail.com on 19 Mar 2010 at 6:51

GoogleCodeExporter commented 9 years ago
Merged, thanks

Original comment by anti...@gmail.com on 22 Mar 2010 at 4:33