Add getOptionString() to command.