method

terminate

terminate(arg = nil)
public

Terminates option parsing. Optional parameter arg is a string pushed back to be the first non-option argument.