private static MigrationStatus processServiceCmdArgs(String[] args){
  String argument;
  if (args.length != 2) {
    throw new IllegalArgumentException("Wrong arguments");
  }
  argument=args[1];
  if (!argument.equalsIgnoreCase(RESET_MIFAIL)) {
    log.error("Invalid command:{} for {}",argument,Command.RESET);
    throw new IllegalArgumentException("Invalid command: " + argument);
  }
  return MigrationStatus.FAILED;
}

private static MigrationStatus processServiceCmdArgs ( String [ ] args ) { String argument ; if ( args . length != 2 ) { throw new IllegalArgumentException ( "Wrong arguments" ) ; } argument = args [ 1 ] ; if ( ! argument . equalsIgnoreCase ( RESET_MIFAIL ) ) { log . error ( "Invalid command:{} for {}" , argument , Command . RESET ) ; throw new IllegalArgumentException ( "Invalid command: " + argument ) ; } return MigrationStatus . FAILED ; }
deal with service configuration cmd args .
