Commits

Anonymous committed da0de65

Added --version

Comments (0)

Files changed (1)

 # This work was funded by Roche and generously donated to the free
 # and open source cheminformatics community.
 
-
 ## Copyright (c) 2012 Andrew Dalke Scientific AB
 ## Andrew Dalke <dalke@dalkescientific.com>
 ##
                     help="Print timing information to stderr")
 parser.add_argument("-v", "--verbose", action="count", dest="verbosity",
                     help="Print progress statistics to stderr. Use twice for more verbosity.")
+parser.add_argument("--version", action="version", version="%(prog)s " + __version__)
 
 
 # RDKit's match function only returns the atom indices of the match.