Add patch to print command line