From 06835ae89fce4acedbbc714f92ddd61284d7afa8 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Wed, 16 Jan 2013 13:54:59 +0100 Subject: scripts/random-muscle-activation.py: Complain about unhandled options --- scripts/random-muscle-activation.py | 2 ++ 1 file changed, 2 insertions(+) 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)) -- cgit v1.2.3-54-g00ecf