From de97d759658253ae0b7b49ff4b541b49a429b37b Mon Sep 17 00:00:00 2001 From: Tushar Krishna Date: Sat, 21 May 2011 00:00:54 -0400 Subject: configs: remove -p from ruby_network_test.py 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/example/ruby_network_test.py b/configs/example/ruby_network_test.py index ebc271208..c2c574493 100644 --- a/configs/example/ruby_network_test.py +++ b/configs/example/ruby_network_test.py @@ -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 -- cgit v1.2.3