switch: add short option for --detach