Fix export of cmdOptions when option value = 1