Fixing an error for option parsing and updating docs