improve doc command