args: Changed code to only parse known arguments

Signed-off-by: Aravinda VK <mail@aravindavk.in>