diff --git a/bin/mn b/bin/mn index b0ad9e0e07fbbb7c00055b76c4bc54a23e419eaf..bba2353b7898412b0cc6e3e3732b883f087e94ca 100755 --- a/bin/mn +++ b/bin/mn @@ -196,6 +196,11 @@ class MininetRunner( object ): self.options, self.args = opts.parse_args() + # We don't accept extra arguments after the options + if self.args: + opts.print_help() + exit() + def setup( self ): "Setup and validate environment."