fixed an error with prompt function

one argument was forgotten: `err, props` is working perfect now.
Merge pull request #14 from aponxi/patch-1

fixed an error with prompt function