python-updater should fail when executed with unrecognised command line options, and should probably be enhanced to recognise long options: epia ~ # python-updater --help * Logging disabled due to permissions usage: python-updater [-h|-p|-o X.X|-n X.X] -h help -p pretend (don't do anything) -o X.X set old python version to upgrade from [default: 2.3] -n X.X set new python version to upgrade to [default: 2.4] unrecognised option: --help * Starting Python Updater from 2.3 to 2.4 : * Searching for packages with files in /usr/lib/python2.3 /usr/lib32/python2.3 /usr/lib64/python2.3 ..^C
Created attachment 81262 [details, diff] Python Updater patch This should prevent python-updater from continuing on when it receives an invalid argument.
Patch added in svn. I also added long options.