Fixed snapshot flag and example

Snapshot function was incorrectly documented, this change fixes those errors
Merge pull request #7 from techkid6/patch-1

Fixed snapshot flag and example