chameria-launcher/src/main/java/de/akquinet/chameria/launcher/Launcher.java
private static String getDeployDirectory(String[] args) {
        for (int i = 0; i < args.length; i++) {
            String arg = args[i];
            if (StringUtils.contains(arg, "--deploy=")) {
                return arg.substring("--deploy=".length());
            }
        }
        return null;
    }
private static String getDeployDirectory(String[] args) {
        for (int i = 0; i < args.length; i++) {
            String arg = args[i];
            if (StringUtils.contains(arg, "--deploy=")) {
                return arg.substring("--deploy=".length());
            }
        }
        return null;
    }
private static String getDeployDirectory ( String [ ] args ) { for ( int i = 0 ; i < args . length ; i ++ ) { String arg = args [ i ] ; if ( StringUtils . contains ( arg , "--deploy=" ) ) { return arg . substring ( "--deploy=" . length ( ) ) ; } } return null ; }
Parses the --deploy parameter.
@param args the parameters.
@return the deploy folder or <code>null</code> if not found.
Parses the -- deploy parameter .