Permalink
Browse files

Added --version flag.

  • Loading branch information...
1 parent 82c75c8 commit 6ffef037d41c84df20032d57945887a144f1d75e @pansapiens pansapiens committed Oct 23, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 inmembrane_scan
View
3 inmembrane_scan
@@ -50,7 +50,8 @@ collates the results.
if __name__ == "__main__":
from optparse import OptionParser
usage = "usage: %prog [options] [sequences.fasta]"
- parser = OptionParser(usage=usage)
+ parser = OptionParser(usage=usage, \
+ version="%prog "+inmembrane.__version__+"\n",)
parser.add_option("-t", "--test",
action="store_true", dest="run_tests", default=False,
help="Run tests checking the each plugin works as expected.\

0 comments on commit 6ffef03

Please sign in to comment.