]> xenbits.xensource.com Git - people/larsk/xenproject-org-gitdm.git/commitdiff
Fix an option parsing regression
authorJonathan Corbet <corbet@lwn.net>
Tue, 10 May 2011 17:28:23 +0000 (11:28 -0600)
committerJonathan Corbet <corbet@lwn.net>
Tue, 10 May 2011 17:28:23 +0000 (11:28 -0600)
Cedric added a : for -a, no idea why.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
gitdm

diff --git a/gitdm b/gitdm
index 0e9d85a615c3a57934d72b2a1411655860e7173f..5767a88b4677e6760da7811941788880267cd836 100755 (executable)
--- 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