EHC ❯ Running StandaloneServer without arguments and no config file should print out a help text
-
Bug
-
Status: Closed
-
1 Critical
-
Resolution: Fixed
-
ehcache
-
-
alexsnaps
-
Reporter: gbevin
-
November 08, 2009
-
0
-
Watchers: 0
-
November 25, 2009
-
November 09, 2009
Description
Currently it says fails with an exception.
It should print out a help text as regular *nix tools. There should also be a -help option that prints this text.
Comments
Alexander Snaps 2009-11-09
Himadri Singh 2009-11-24
Starting org.terracotta.ehcachedx.monitor.StandaloneServer without any arguments gives the following usage.
Full Usage banner:
Usage: (START|STOP) [-l
-h option banner:
Command line arguments: [-l
startup.sh -h doesnt displays the banner but starts the server. As per the current logic, it needs to have one argument to make it work.
Himadri Singh 2009-11-25
Print outs the help message if we have -h/–help or missed argument for any of the parameter.
Verified in rev 5405.
-h and –help are now supported… In case not enough arguments are specified the usage banner is displayed. all arguments have precedence over -f|–config file specified options