Add support for weighted layouts to command line.  Refs #2889

Change-Id: I4fcee3a4ce1e281855e232cd1f3578138b666da1
(cherry picked from commit 5da21f92e6dd682ef94cc9f0cdd46ad9cf7a94a9)