Skip to content
Snippets Groups Projects
Commit 01e0758e authored by Bob Lantz's avatar Bob Lantz
Browse files

Add 'type mn -h for details' to usage message.

parent e8238d18
No related branches found
No related tags found
No related merge requests found
......@@ -143,7 +143,10 @@ class MininetRunner( object ):
"command line. It can create parametrized topologies,\n"
"invoke the Mininet CLI, and run tests." )
opts = OptionParser( description=desc )
usage = ( '%prog [options]\n'
'(type %prog -h for details)' )
opts = OptionParser( description=desc, usage=usage )
addDictOption( opts, SWITCHES, SWITCHDEF, 'switch' )
addDictOption( opts, HOSTS, HOSTDEF, 'host' )
addDictOption( opts, CONTROLLERS, CONTROLLERDEF, 'controller' )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment