issue #169 - added command.getOptions(argv) API