Added 'docInfo [-v] <docId>' function