]> git.cworth.org Git - apitrace/commitdiff
snapdiff: Drop the --version option
authorCarl Worth <cworth@cworth.org>
Mon, 14 Nov 2011 19:05:11 +0000 (11:05 -0800)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Wed, 23 Nov 2011 14:18:31 +0000 (14:18 +0000)
This isn't currently giving any actual information, and it doesn't fit
well with the new top-level apitrace command, (which should presumably
take care of any --version option itself).

scripts/snapdiff.py

index 0ed3937a8f8e669accf577c4b06d6472784e3c57..13e5069abc09fd79b2e6aa0a43464a390d15d196 100755 (executable)
@@ -138,8 +138,7 @@ def main():
     global options
 
     optparser = optparse.OptionParser(
-        usage="\n\t%prog [options] <ref_prefix> <src_prefix>",
-        version="%%prog")
+        usage="\n\t%prog [options] <ref_prefix> <src_prefix>")
     optparser.add_option(
         '-o', '--output', metavar='FILE',
         type="string", dest="output", default='index.html',