Manipulates the arguments received by main.