Changeset 689


Ignore:
Timestamp:
Nov 5, 2010, 5:18:49 PM (9 years ago)
Author:
ksherdy
Message:

Update command line error handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/workspace/prototype.py

    r670 r689  
    3636        doctest.testmod()
    3737
    38         if len(sys.argv) < 1:
    39                 sys.stderr.write("Usage: " + filename + "\n")
     38        if len(sys.argv) < 2:
     39                sys.stderr.write("Usage: python " + filename + " <filename>" "\n")
    4040                sys.exit(2)
    4141
Note: See TracChangeset for help on using the changeset viewer.