1 parent
83e43a42d9
commit
294bbad407
1 file changed
+5
@@ -196,6 +196,11 @@ class MininetRunner( object ):
|
|||||||
|
|
||||||
self.options, self.args = opts.parse_args()
|
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 ):
|
def setup( self ):
|
||||||
"Setup and validate environment."
|
"Setup and validate environment."
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user