cmdutils: add -layouts option.