implement helpdoc learning command