Examples of printHelp()


Examples of avrora.util.Option.printHelp()

            Collections.sort(l, Option.COMPARATOR);

            Iterator i = l.iterator();
            while (i.hasNext()) {
                Option opt = (Option)i.next();
                opt.printHelp();
            }

            Terminal.println("");
        }
    }
View Full Code Here

Examples of avrora.util.help.HelpCategory.printHelp()

        Terminal.nextln();
    }

    private static void printHelp(String a) {
        HelpCategory hc = Defaults.getHelpCategory(a);
        hc.printHelp();
    }

    static void banner() {
        if (! BANNER.get() ) return;
View Full Code Here

Examples of co.cask.tigon.cli.CLICommands.printHelp()

          out.println(StringUtils.join(commandList, ", "));
          continue;
        }

        if (args.length < cmd.getArgCount()) {
          throw new InvalidCLIArgumentException(cmd.printHelp());
        }

        if (cmd.equals(CLICommands.START)) {
          Map<String, String> runtimeArgs = Maps.newHashMap();
          if (args.length > cmd.getArgCount()) {
View Full Code Here

Examples of com.alibaba.antx.util.cli.HelpFormatter.printHelp()

    public void help(PrintWriter out) {
        HelpFormatter formatter = new HelpFormatter();

        formatter.defaultSyntaxPrefix = "ʹ�÷�����";

        formatter.printHelp(out, HelpFormatter.DEFAULT_WIDTH, "antxconfig [��ѡ����] [Ŀ¼��|���ļ���]\n", "��ѡ������", options,
                HelpFormatter.DEFAULT_LEFT_PAD, HelpFormatter.DEFAULT_DESC_PAD, "\n");
    }
}
View Full Code Here

Examples of com.cloudbees.sdk.cli.ACommand.printHelp()

        if (cmd!=null) {
            List<String> args = new ArrayList<String>();
            args.add(subCommand);
            if (all)
                args.add("-all");
            cmd.printHelp(args);
        } else
            printHelp(all);

        return 1;
    }
View Full Code Here

Examples of com.dotcms.repackage.org.apache.commons.cli.HelpFormatter.printHelp()

    public static void printHelp ( Options options, String helpText ) {

        HelpFormatter formatter = new HelpFormatter();
        String txt = Messages.getString( "UpdateAgent.text.agent.version" ) + getManifestValue( UpdateAgent.MANIFEST_PROPERTY_AGENT_VERSION ) + "\n";
        txt += helpText;
        formatter.printHelp( "autoUpdater <options>", "", options, txt );
    }

    /**
     * This method will delete a given folder, it will make it recursively removing from the children to the parent
     *
 
View Full Code Here

Examples of com.facebook.presto.hive.shaded.org.apache.commons.cli.HelpFormatter.printHelp()

    }
  }

  private static void printAndExit(HiveMetaTool metaTool) {
    HelpFormatter formatter = new HelpFormatter();
    formatter.printHelp("metatool", metaTool.cmdLineOptions);
    System.exit(1);
  }

  public static void main(String[] args) {
    HiveMetaTool metaTool = new HiveMetaTool();
View Full Code Here

Examples of com.tinkerpop.rexster.server.RexsterSettings.printHelp()

                issueControlCommand(line, ShutdownManager.COMMAND_SHUTDOWN_NO_WAIT);
            }
        } else if (settings.getPrimeCommand().equals(RexsterSettings.COMMAND_STATUS)) {
            issueControlCommand(line, ShutdownManager.COMMAND_STATUS);
        } else {
            settings.printHelp();
        }
    }

    /**
     * Initialize debug level logging for rexster if the setting is turned on from the command line.
View Full Code Here

Examples of com.zaranux.client.org.apache.commons.cli.HelpFormatter.printHelp()

   
    final PrintStream outPS = (PrintStream) System.out;

   
    HelpFormatter formatter = new HelpFormatter();
    formatter.printHelp(outPS,150,"cmd", "help", options,9,9,"footer",true, callback);
   
         
  }
 
  protected void reportError(String errMsg, AsyncCallback<Boolean> callback)
View Full Code Here

Examples of net.sourceforge.argparse4j.inf.ArgumentParser.printHelp()

                    .help("Show this help message and exit")
                    .action(new HelpArgumentAction() {
                        @Override
                        public void run(ArgumentParser parser, Argument arg, Map<String, Object> attrs, String flag, Object value)
                                throws ArgumentParserException {
                            parser.printHelp(new PrintWriter(System.out));
                            System.out.println();
                            System.out.print(ForkedToolRunnerHelpFormatter.getGenericCommandUsage());
                            //ToolRunner.printGenericCommandUsage(System.out);
                            System.out.println(
                                    "Examples: \n\n" +
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.