check for argument "-d" if len(argv) is 4
authortheStack <sebastian.falbesoner@gmail.com>
Sun, 31 Jan 2010 14:21:15 +0000 (15:21 +0100)
committertheStack <sebastian.falbesoner@gmail.com>
Sun, 31 Jan 2010 14:21:15 +0000 (15:21 +0100)
commit0377f322d70510eaa8cb74d22f95479ec6323ce6
tree1c66c5414f8218919957bc74e5f39dc45b55c7a0
parent31898950d88ea5a8565c83126b0f02a63cbbbc3a
check for argument "-d" if len(argv) is 4

we can use getopt (http://docs.python.org/library/getopt.html)
instead of manual parsing if the number of options increases
in the future...
frprog.py