kiesel / johanna

JoHannah Session Server
MIT License
1 stars 2 forks source link

Switch to standard args4j parser instead of custom provided jar that mus... #4

Closed sfuhrm closed 10 years ago

sfuhrm commented 10 years ago

...t be provided using fairy dust to maven.

Nice command line help:

$ java -jar target/johanna-1.0.0-SNAPSHOT.jar --help --backend (-b) [MEMORY | REDIS] : The session storage backend to use --debug : Whether to log with DEBUG level --help : This command line help --host (-h) WERT : The IP of the REDIS server to bind to (see --backend, defaults to 127.0.0.1) --identifier (-i) [MD5 | UUID] : The identifier factory to use --port (-p) N : The TCP/IP port to bind to

... maybe you take a look on this. I think it's

kiesel commented 10 years ago

Looks good, I think it makes sense to go for a properly-packaged command line parser, that even results in less code.

Would you mind squashing your PR into one commit?