Fixed --layouts option

The --layouts option isn't correctly declared causing a parse error when user specify it on command line
Merge pull request #1458 from dafi/patch-1

Fixed --layouts option