Examples of printHelp()


Examples of org.apache.felix.sigil.common.runtime.cli.HelpFormatter.printHelp()

    }

    private static void printHelp()
    {
        HelpFormatter f = new HelpFormatter();
        f.printHelp(COMMAND_LINE_SYNTAX, options);
    }

    public static void log(String msg)
    {
        if (verbose)
View Full Code Here

Examples of org.apache.geronimo.cli.PrintHelper.printHelp()

        return commandLine.getOptionValues(ARGUMENT_MODULE_OVERRIDE_SHORTFORM);
    }
   
    public void displayHelp() {
        PrintHelper printHelper = new PrintHelper(out);
        printHelper.printHelp("java -jar bin/server.jar $options",
                "\nThe following options are available:",
                options,
                "\nIn addition you may specify a replacement for var/config/config.xml by setting the property "
                        + "-Dorg.apache.geronimo.config.file=var/config/<my-config.xml>. "
                        + "This is resolved relative to the geronimo base directory.\n",
View Full Code Here

Examples of org.exolab.castor.util.CommandLineOptions.printHelp()

        Properties options = allOptions.getOptions(args);

        // -- check for help option
        if (options.getProperty("h") != null) {
            PrintWriter pw = new PrintWriter(System.out, true);
            allOptions.printHelp(pw);
            pw.flush();
            return;
        }

        String classname = options.getProperty("i");
View Full Code Here

Examples of org.gudy.azureus2.ui.console.commands.IConsoleCommand.printHelp()

    out.println("'user' syntax:");
    if( args.size() > 0 ) {
      String command = (String) args.remove(0);
      IConsoleCommand cmd = subCommands.get(command);
      if( cmd != null )
        cmd.printHelp(out, args);
      return;
    }
    out.println("user <command> <command options>");
    out.println();
    out.println("Available <command>s:");
View Full Code Here

Examples of org.jf.util.SmaliHelpFormatter.printHelp()

            consoleWidth = 80;
        }

        formatter.setWidth(consoleWidth);

        formatter.printHelp("java -jar baksmali.jar [options] <dex-file>",
                "disassembles and/or dumps a dex file", basicOptions, printDebugOptions?debugOptions:null);
    }

    private static void usage() {
        usage(false);
View Full Code Here

Examples of org.owasp.dependencycheck.CliParser.printHelp()

        System.setOut(new PrintStream(baos));

        CliParser instance = new CliParser();
        String[] args = {"-h"};
        instance.parse(args);
        instance.printHelp();
        args[0] = "-ah";
        instance.parse(args);
        instance.printHelp();
        try {
            baos.flush();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.