Commit 139bf072 authored by Jim Fulton's avatar Jim Fulton

Changed to require two arguments.

parent 2cd6fa30
...@@ -72,7 +72,7 @@ Examples ...@@ -72,7 +72,7 @@ Examples
s s
$Id: Test.py,v 1.9 1997/04/11 13:35:06 jim Exp $ $Id: Test.py,v 1.10 1997/04/11 22:45:22 jim Exp $
''' '''
# Copyright # Copyright
# #
...@@ -126,7 +126,7 @@ $Id: Test.py,v 1.9 1997/04/11 13:35:06 jim Exp $ ...@@ -126,7 +126,7 @@ $Id: Test.py,v 1.9 1997/04/11 13:35:06 jim Exp $
# #
# #
# #
__version__='$Revision: 1.9 $'[11:-2] __version__='$Revision: 1.10 $'[11:-2]
#! /usr/local/bin/python #! /usr/local/bin/python
...@@ -140,7 +140,7 @@ def main(): ...@@ -140,7 +140,7 @@ def main():
try: try:
optlist,args=getopt.getopt(sys.argv[1:], 'dtu:p:r:e:') optlist,args=getopt.getopt(sys.argv[1:], 'dtu:p:r:e:')
if len(args) > 2 or len(args) < 1: raise TypeError, None if len(args) > 2 or len(args) < 2: raise TypeError, None
if len(args) == 2: path_info=args[1] if len(args) == 2: path_info=args[1]
except: except:
sys.stderr.write(__doc__) sys.stderr.write(__doc__)
...@@ -334,6 +334,9 @@ if __name__ == "__main__": main() ...@@ -334,6 +334,9 @@ if __name__ == "__main__": main()
# #
# $Log: Test.py,v $ # $Log: Test.py,v $
# Revision 1.10 1997/04/11 22:45:22 jim
# Changed to require two arguments.
#
# Revision 1.9 1997/04/11 13:35:06 jim # Revision 1.9 1997/04/11 13:35:06 jim
# Added -e option to specify environment variables. # Added -e option to specify environment variables.
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment