support -v option; provide more detailed version info (#303)