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)
commit13a5c0eda5ec90dbbf439df02ddcea3298c2c73b
tree8395af301e0d2f27e39e278456da447e40643b9e
parent1784c60782f2a15dc9a19c1355bf763680c533fd
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