Browse files

AS7-5008 Removed unused handling for -h/-v interactive command line

options.
  • Loading branch information...
1 parent 54fc2fe commit 97c6fd9d857ea4ba9314b0dc2246136d577d8470 Bernd Eckenfels committed Nov 7, 2012
Showing with 1 addition and 9 deletions.
  1. +1 −9 host-controller/src/main/java/org/jboss/as/host/controller/Main.java
View
10 host-controller/src/main/java/org/jboss/as/host/controller/Main.java
@@ -177,15 +177,7 @@ public static HostControllerEnvironment determineEnvironment(String[] args, Inpu
final String arg = args[i];
try {
- if (CommandLineConstants.VERSION.equals(arg) || CommandLineConstants.SHORT_VERSION.equals(arg)
- || CommandLineConstants.OLD_VERSION.equals(arg) || CommandLineConstants.OLD_SHORT_VERSION.equals(arg)) {
- productConfig = new ProductConfig(Module.getBootModuleLoader(), SecurityActions.getSystemProperty(HostControllerEnvironment.HOME_DIR));
- System.out.println(productConfig.getPrettyVersionString());
- return null;
- } else if (CommandLineConstants.HELP.equals(arg) || CommandLineConstants.SHORT_HELP.equals(arg) || CommandLineConstants.OLD_HELP.equals(arg)) {
- usage();
- return null;
- } else if (CommandLineConstants.PROPERTIES.equals(arg) || CommandLineConstants.OLD_PROPERTIES.equals(arg)
+ if (CommandLineConstants.PROPERTIES.equals(arg) || CommandLineConstants.OLD_PROPERTIES.equals(arg)
|| CommandLineConstants.SHORT_PROPERTIES.equals(arg)) {
// Set system properties from url/file
if (!processProperties(arg, args[++i], hostSystemProperties)) {

0 comments on commit 97c6fd9

Please sign in to comment.