fixed --version duplicate arg issue