Asking for an addition to Documentation:
Under Options --action
please add the posibilities too, just mentioning would be helpfull:
auto migrate live-migrate stop stateful-stop force-stop
Also is it possible to handle this different in a future version?
Original:
incus cluster evacuate pi5n2 --action help
Are you sure you want to evacuate cluster member "pi5n2"? (yes/no) [default=no]: yes
Error: Failed to update cluster member state: Invalid value "help" (not one of [auto migrate live-migrate stop stateful-stop force-stop])
How I think it would should be:
incus cluster evacuate pi5n2 --action (help|--help)
Help: Available commands: [auto migrate live-migrate stop stateful-stop force-stop]
So the idea is, it is not asking to confirm an evacuation but instead gives valuable hints.