Fixed snapshot flag and example

Snapshot function was incorrectly documented, this change fixes those errors