Command reference
oko defects withdraw
Marks a defect as recorded in error: the product does not have it.
Invocation#
oko defects withdraw <id> --reason TEXT [--json]Inputs and options#
- The defect id and what shows the product does not have the defect.
Output and state effect#
- Records the withdrawal and prints `withdrew <id> as recorded in error: <reason>`.
Refusals and safe exits#
- `oko defects withdraw requires <id>`, `oko defects requires --reason <text>` (exit 2); `a defect needs what shows the product does not have this defect` for a blank reason; `defect <id> was closed by <revision>, so it was real; reopen it before withdrawing it`; `defect <id> was already withdrawn at <time>: <reason>`.