fix stacktrace

if mdoc --stacktrace is called, stacktrace should be printed,
otherwise it hsould not be printed
Merge pull request #39 from metridoc/fix-stack-trace

fix stacktrace