readprofile: typo for --reset argument

--reset argument is not working properly because of typo in code