[PATCH 2/5] programs/cmd: Add support for IF commands in rewrite.