Completed rename-cmd.