optind property

int get optind

Index of the next element to be processed in argv. The system initializes this value to 1.

Implementation

int get optind => _optind;
set optind (int value)

Implementation

set optind(int value) {
  _optind = value;
  _optpos = 1; // Reset internal pos on manual change
}