add cmd type to retrieve version info