remove superfluous cli arguments