summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2013-01-16 13:54:59 +0100
committerTobias Klauser <tklauser@distanz.ch>2013-01-16 13:54:59 +0100
commit06835ae89fce4acedbbc714f92ddd61284d7afa8 (patch)
treeee4f8bf83f818e9e70a32cc2e6a8757fa7847c04
parente79ff4b513014925e3a18acacf7ea95900b315dc (diff)
scripts/random-muscle-activation.py: Complain about unhandled options
-rwxr-xr-xscripts/random-muscle-activation.py2
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))