Пример #1
0
 private void printHelp() {
   if (commandLineArgs.getOperatorName() != null) {
     commandLineContext.print(
         CommandLineUsage.getUsageTextForOperator(commandLineArgs.getOperatorName()));
   } else if (commandLineArgs.getGraphFilePath() != null) {
     commandLineContext.print(
         CommandLineUsage.getUsageTextForGraph(
             commandLineArgs.getGraphFilePath(), commandLineContext));
   } else {
     commandLineContext.print(CommandLineUsage.getUsageText());
   }
 }