View | Details | Raw Unified | Return to bug 24231
Collapse All | Expand All

(-)/cygdrive/d/TEMP/Main.java (-1 / +3 lines)
Lines 423-429 Link Here
423
                projectHelp = true;
423
                projectHelp = true;
424
            } else if (arg.equals("-find") || arg.equals("-s")) {
424
            } else if (arg.equals("-find") || arg.equals("-s")) {
425
                // eat up next arg if present, default to build.xml
425
                // eat up next arg if present, default to build.xml
426
                if (i < args.length - 1) {
426
                if (i < args.length - 1 && !(args[i + 1].equals("-."))) {
427
                    searchForThis = args[++i];
427
                    searchForThis = args[++i];
428
                } else {
428
                } else {
429
                    searchForThis = DEFAULT_BUILD_FILENAME;
429
                    searchForThis = DEFAULT_BUILD_FILENAME;
Lines 456-461 Link Here
456
                    throw new BuildException(
456
                    throw new BuildException(
457
                            "Niceness value is out of the range 1-10");
457
                            "Niceness value is out of the range 1-10");
458
                }
458
                }
459
            } else if (arg.equals("-.")) {//do nothing
459
            } else if (arg.startsWith("-")) {
460
            } else if (arg.startsWith("-")) {
460
                // we don't have any more args to recognize!
461
                // we don't have any more args to recognize!
461
                String msg = "Unknown argument: " + arg;
462
                String msg = "Unknown argument: " + arg;
Lines 864-869 Link Here
864
        msg.append("    -s  <file>           the filesystem and use it" + lSep);
865
        msg.append("    -s  <file>           the filesystem and use it" + lSep);
865
        msg.append("  -nice  number          A niceness value for the main thread:" + lSep +
866
        msg.append("  -nice  number          A niceness value for the main thread:" + lSep +
866
                   "                         1 (lowest) to 10 (highest); 5 is the default" + lSep);
867
                   "                         1 (lowest) to 10 (highest); 5 is the default" + lSep);
868
        msg.append("  -.                     signify end of options" + lSep);
867
        System.out.println(msg.toString());
869
        System.out.println(msg.toString());
868
    }
870
    }
869
871

Return to bug 24231