Navigation Menu

Skip to content
This repository has been archived by the owner on Nov 24, 2019. It is now read-only.

Commit

Permalink
Program name and version.
Browse files Browse the repository at this point in the history
  • Loading branch information
lpenz committed Feb 14, 2011
1 parent a9a9a19 commit 13a0086
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions atdtool
Expand Up @@ -15,6 +15,9 @@ import urllib
from xml.etree import ElementTree


PROGRAM_NAME = "atdtool"
PROGRAM_VERSION = "1.0"


def checkDocument(cfg, fd):
'''Invoke checkDocument service and return a list of errors.'''
Expand Down Expand Up @@ -157,6 +160,7 @@ def showerrs(filename, fd, errs):

def main():
parser = OptionParser(usage='Usage: %prog <file>',
version="%prog "+PROGRAM_VERSION,
description='''\
atdtool submits the given file to the After the Deadline language checking
service at http://www.afterthedeadline.com/ and presents the results in
Expand Down

0 comments on commit 13a0086

Please sign in to comment.