This seems to have missed out on an update/refactor at some point and was not usable in its previous form without duplicating the `runOptionFunc` scaffolding. Signed-off-by: Ian Campbell <ijc@docker.com>