From: Jonathan Corbet Date: Tue, 10 May 2011 17:28:23 +0000 (-0600) Subject: Fix an option parsing regression X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c599a8a29bbe59ebf2b03596629b38598b15cb36;p=people%2Flarsk%2Fxenproject-org-gitdm.git Fix an option parsing regression Cedric added a : for -a, no idea why. Signed-off-by: Jonathan Corbet --- diff --git a/gitdm b/gitdm index 0e9d85a..5767a88 100755 --- a/gitdm +++ b/gitdm @@ -61,7 +61,7 @@ def ParseOpts (): global DateStats, AuthorSOBs, FileFilter, AkpmOverLt, DumpDB global CFName, CSVFile, DirName, Aggregate - opts, rest = getopt.getopt (sys.argv[1:], 'a:b:dc:Dh:l:o:r:suwx:z') + opts, rest = getopt.getopt (sys.argv[1:], 'ab:dc:Dh:l:o:r:suwx:z') for opt in opts: if opt[0] == '-a': AkpmOverLt = 1