hps-java/src/main/java/org/lcsim/hps/evio
diff -u -r1.19 -r1.20
--- TestRunEvioToLcio.java 16 Aug 2012 23:54:09 -0000 1.19
+++ TestRunEvioToLcio.java 24 Aug 2012 22:37:19 -0000 1.20
@@ -48,7 +48,7 @@
options.addOption(new Option("d", true, "The name of the detector to use for LCSim conditions."));
options.addOption(new Option("x", true, "The LCSim XML file to process the LCIO events."));
options.addOption(new Option("s", true, "Sleep duration between events (in ms)"));
- options.addOption(new Option("e", true, "Stop after N events"));
+ options.addOption(new Option("n", true, "Stop after N events"));
options.addOption(new Option("w", false, "Wait after end of data"));
options.addOption(new Option("r", false, "Show run control window"));
options.addOption(new Option("D", true, "Pass a variable to the steering file"));
@@ -126,8 +126,8 @@
}
// Sleep time.
- if (cl.hasOption("e")) {
- maxEvents = Integer.valueOf(cl.getOptionValue("e"));
+ if (cl.hasOption("n")) {
+ maxEvents = Integer.valueOf(cl.getOptionValue("n"));
}
RunControlDialog runControl = null;