added option to use '--arg=val' mode