Add "preview" as a valid command.

Or recommit this a63fd71dd25498cfac27057d2f8be6350dcc15d3 which was (mistakenly) reverted here a7d8d8d9d9f34daa41e2dca4ea79177e38b700f5.