swconfig: clean up command line parsing