hgview #262876 Hgview crashes on optparse.OptionConflictError [validation pending]

Hgview crashes on optparse.OptionConflictError:

$ hgview
Traceback (most recent call last):
File "/usr/bin/hgview", line 38, in <module>
main()
File ".../src/hgviewlib/application.py", line 216, in main
help='Print the version of Hgview and exit.')
File "/usr/lib/python2.7/optparse.py", line 1020, in add_option
self._check_conflict(option)
File "/usr/lib/python2.7/optparse.py", line 995, in _check_conflict
option)
optparse.OptionConflictError: option --version: conflicting option string(s): --version

priorityimportant
typebug
done in1.9.0
load0.000
load left0.000
closed by<not specified>