You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ma...@apache.org on 2013/10/06 14:20:54 UTC

[02/19] git commit: [flex-sdk] [refs/heads/asdoc] - FLEX-33783 Exist with 0 rather than 1 when -help is passed

FLEX-33783 Exist with 0 rather than 1 when -help is passed


Project: http://git-wip-us.apache.org/repos/asf/flex-sdk/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/ffdec513
Tree: http://git-wip-us.apache.org/repos/asf/flex-sdk/tree/ffdec513
Diff: http://git-wip-us.apache.org/repos/asf/flex-sdk/diff/ffdec513

Branch: refs/heads/asdoc
Commit: ffdec513ba84f796897405e3fa9d7e542eaa2761
Parents: 8f7d890
Author: Justin Mclean <jm...@apache.org>
Authored: Sat Sep 28 17:58:34 2013 +1000
Committer: Justin Mclean <jm...@apache.org>
Committed: Sat Sep 28 17:58:34 2013 +1000

----------------------------------------------------------------------
 modules/compiler/src/java/flex2/tools/Mxmlc.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/ffdec513/modules/compiler/src/java/flex2/tools/Mxmlc.java
----------------------------------------------------------------------
diff --git a/modules/compiler/src/java/flex2/tools/Mxmlc.java b/modules/compiler/src/java/flex2/tools/Mxmlc.java
index 18202a5..dfec3e9 100644
--- a/modules/compiler/src/java/flex2/tools/Mxmlc.java
+++ b/modules/compiler/src/java/flex2/tools/Mxmlc.java
@@ -763,14 +763,14 @@ public final class Mxmlc extends Tool
             ThreadLocalToolkit.logInfo( getStartMessage( program ) );
             System.out.println();
             System.out.println( CommandLineConfigurator.usage( program, defaultVar, cfgbuf, keywords, lmgr, l10nConfigPrefix ));
-            System.exit( 1 );
+            System.exit( 0 );
         }
 
         if (args.length == 0 && ("mxmlc".equals(program) || "compc".equals(program)))
         {
         	ThreadLocalToolkit.logInfo( getStartMessage( program ) );
             System.err.println( CommandLineConfigurator.brief( program, defaultVar, lmgr, l10nConfigPrefix ));
-            System.exit(1);
+            System.exit( 1 );
         }
     }