Author: ningjiang
Date: Sat May 24 23:24:13 2008
New Revision: 659924
URL: http://svn.apache.org/viewvc?rev=659924&view=rev
Log:
CAMEL-549 changed to use x as the debug option
Modified:
activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/Main.java
Modified:
activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/Main.java
URL:
http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/Main.java?rev=659924&r1=659923&r2=659924&view=diff
==============================================================================
---
activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/Main.java
(original)
+++
activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/Main.java
Sat May 24 23:24:13 2008
@@ -79,11 +79,7 @@
setApplicationContextUri(parameter);
}
});
- addOption(new Option("d", "debug", "Enables the debugger") {
- protected void doProcess(String arg, LinkedList<String>
remainingArgs) {
- enableDebugging();
- }
- });
+
addOption(new ParameterOption("o", "outdir",
"Sets the DOT output directory where the visual
representations of the routes are generated",
"dot") {
@@ -112,6 +108,12 @@
setDuration(Integer.parseInt(value));
}
});
+
+ addOption(new Option("x", "debug", "Enables the debugger") {
+ protected void doProcess(String arg, LinkedList<String>
remainingArgs) {
+ enableDebugging();
+ }
+ });
}
public static void main(String... args) {