]> arthur.barton.de Git - bup.git/blobdiff - cmd/version-cmd.py
index-cmd: prevent a division by zero while computing paths_per_second.
[bup.git] / cmd / version-cmd.py
index 3469086d1293c16afb4911ea36f91833f87f2446..1a68a6cbf787a432bb43202c62da58ded875d10c 100755 (executable)
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-import sys, os, glob
+import sys
 from bup import options
 from bup.helpers import *
 
@@ -10,7 +10,7 @@ date    display the date this version of bup was created
 commit  display the git commit id of this version of bup
 tag     display the tag name of this version.  If no tag is available, display the commit id
 """
-o = options.Options('bup version', optspec)
+o = options.Options(optspec)
 (opt, flags, extra) = o.parse(sys.argv[1:])