* `getopt` - parse command options (enhanced)