add output option for lget command