configs: remove -p from ruby_network_test.py
authorTushar Krishna <tushar@csail.mit.edu>
Sat, 21 May 2011 04:00:54 +0000 (00:00 -0400)
committerTushar Krishna <tushar@csail.mit.edu>
Sat, 21 May 2011 04:00:54 +0000 (00:00 -0400)
A recent patch broke the ruby network tester by adding -p inside Options.py
which conflicts with the -p inside ruby_network_test.py.
Have removed -p from ruby_network_test.py

configs/example/ruby_network_test.py

index ebc27120842e07f27ad915a6de5f63f39705e28c..c2c574493610486a138f841617490e40814ec33a 100644 (file)
@@ -65,11 +65,11 @@ parser.add_option("--sim-cycles", type="int", default=1000,
                    help="Number of simulation cycles")
 
 parser.add_option("--fixed-pkts", action="store_true",
-                  help="Network_test: send only -p number of packets")
+                  help="Network_test: inject --maxpackets and stop")
 
-parser.add_option("-p", "--maxpackets", type="int", default=1,
-                  metavar="P",
-                  help="Stop after Packets (works only with --fixed-pkts")
+parser.add_option("--maxpackets", type="int", default=1,
+                  help="Stop injecting after --maxpackets. \
+                        Works only with --fixed-pkts")
 
 #
 # Add the ruby specific and protocol specific options