use of org.apache.commons.cli.HelpFormatter in project flink by apache.
the class CliFrontendParser method printHelpForCancel.
public static void printHelpForCancel() {
HelpFormatter formatter = new HelpFormatter();
formatter.setLeftPadding(5);
formatter.setWidth(80);
System.out.println("\nAction \"cancel\" cancels a running program.");
System.out.println("\n Syntax: cancel [OPTIONS] <Job ID>");
formatter.setSyntaxPrefix(" \"cancel\" action options:");
formatter.printHelp(" ", getCancelOptionsWithoutDeprecatedOptions(new Options()));
printCustomCliOptions(formatter, false);
System.out.println();
}
use of org.apache.commons.cli.HelpFormatter in project databus by linkedin.
the class BootstrapAvroFileSeederMain method printCliHelp.
private static void printCliHelp(Options cliOptions) {
HelpFormatter helpFormatter = new HelpFormatter();
helpFormatter.printHelp("java " + BootstrapSeederMain.class.getName(), cliOptions);
}
use of org.apache.commons.cli.HelpFormatter in project databus by linkedin.
the class BootstrapSeederMain method printCliHelp.
private static void printCliHelp(Options cliOptions) {
HelpFormatter helpFormatter = new HelpFormatter();
helpFormatter.printHelp("java " + BootstrapSeederMain.class.getName(), cliOptions);
}
use of org.apache.commons.cli.HelpFormatter in project databus by linkedin.
the class BootstrapTableReader method printCliHelp.
private static void printCliHelp(Options cliOptions) {
HelpFormatter helpFormatter = new HelpFormatter();
helpFormatter.printHelp("java " + BootstrapSeederMain.class.getName(), cliOptions);
}
use of org.apache.commons.cli.HelpFormatter in project databus by linkedin.
the class BootstrapAddSource method printCliHelp.
private static void printCliHelp(Options cliOptions) {
HelpFormatter helpFormatter = new HelpFormatter();
helpFormatter.printHelp("java " + BootstrapAddSource.class.getName(), cliOptions);
}
Aggregations