diff --git a/checkin_notes b/checkin_notes index bbaccff520..057a5feac0 100755 --- a/checkin_notes +++ b/checkin_notes @@ -21878,3 +21878,9 @@ David 27 Dec 2004 uotd.inc sched/ db_purge.C + +David 27 Dec 2004 + - upgrade --help now works + + tools/ + upgrade diff --git a/tools/upgrade b/tools/upgrade index 3c32d2b6d2..9785da8b05 100755 --- a/tools/upgrade +++ b/tools/upgrade @@ -26,8 +26,8 @@ def syntax_error(str): raise SystemExit('%s; See "%s --help" for help\n' % (str, sys.argv[0])) try: - opts, args = getopt.getopt(sys.argv[1:], ['help', 'project_root=']) -except getopt.GetopError, e: + opts, args = getopt.getopt(sys.argv[1:], '', ['help', 'project_root=']) +except getopt.GetoptError, e: syntax_error(e) home = os.path.expanduser('~')