verifyNotOption method

void verifyNotOption(
  1. String value
)

Implementation

void verifyNotOption(String value) {
  if(value.startsWith(optionPrefix)) {
    throwUsageError("Options must come after other values in the command");
  }
}