Fix help message when too many arguments are passed to Hooke.
authorW. Trevor King <wking@drexel.edu>
Thu, 3 Jun 2010 15:55:02 +0000 (11:55 -0400)
committerW. Trevor King <wking@drexel.edu>
Thu, 3 Jun 2010 15:55:02 +0000 (11:55 -0400)
commit862363f817d409a75bb7c8300a7411ac0f0ea04a
tree8395af301e0d2f27e39e278456da447e40643b9e
parentfb0c24a326beb0fdd87cde95e63f344cd0ab91cd
Fix help message when too many arguments are passed to Hooke.

Previously,
  $ python bin/hooke x
would raise an exception.  Now it prints an error message and hooke's
help:
  More than 0 arguments to bin/hooke: ['x']
  Usage: hooke [options]
  ...
hooke/hooke.py