Add command option to make a slave become a master