diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-01-16 13:54:59 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-01-16 13:54:59 +0100 |
commit | 06835ae89fce4acedbbc714f92ddd61284d7afa8 (patch) | |
tree | ee4f8bf83f818e9e70a32cc2e6a8757fa7847c04 /scripts | |
parent | e79ff4b513014925e3a18acacf7ea95900b315dc (diff) |
scripts/random-muscle-activation.py: Complain about unhandled options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/random-muscle-activation.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/random-muscle-activation.py b/scripts/random-muscle-activation.py index a4031fa..587661e 100755 --- a/scripts/random-muscle-activation.py +++ b/scripts/random-muscle-activation.py @@ -134,6 +134,8 @@ def main(): elif o == '-h': usage() sys.exit(0) + else: + assert False, "unhandled option" if N <= 0: print("Error: invalid number of data points ({}), must be > 0".format(N)) |