Add correct log of cmd used