[XDCTOOLS-60] boolean for an xdc.tools package can't be set to false
diff --git a/src/packages/xdc/tools/Cmdr.xs b/src/packages/xdc/tools/Cmdr.xs
index 735603a..8453205 100644
--- a/src/packages/xdc/tools/Cmdr.xs
+++ b/src/packages/xdc/tools/Cmdr.xs
@@ -4,10 +4,10 @@
  *  are made available under the terms of the Eclipse Public License v1.0
  *  which accompanies this distribution, and is available at
  *  http://www.eclipse.org/legal/epl-v10.html
- * 
+ *
  *  Contributors:
  *      Texas Instruments - initial implementation
- * 
+ *
  * --/COPYRIGHT--*/
 var Cmdr;
 
@@ -29,7 +29,8 @@
     inst.self = this;
 
     inst.cmdmod = cmdmod;
-    inst.cmdname = cmdmod.$spec.name == 'Main' ? cmdmod.$spec.pkgName : cmdmod.$spec.qualName;
+    inst.cmdname = cmdmod.$spec.name == 'Main'
+        ? cmdmod.$spec.pkgName : cmdmod.$spec.qualName;
     inst.timer = 0;
     inst.verbose = false;
 }
@@ -65,13 +66,13 @@
     function setScalar(type) {
         return (function(obj, prop, value) {
             obj[prop] = type(value);
-	});
+        });
     };
     /* for array configs, add the option value onto the end */
     function extendArray(type) {
         return (function(obj, prop, value) {
             obj[prop].$add(type(value));
-	});
+        });
     };
     var consmap = {
         b: setScalar(Boolean), Ab: extendArray(Boolean),
@@ -81,7 +82,7 @@
 
     var cfgarr = [];
     var optmap = {};
-    
+
     for each (var cfg in inst.cmdmod.$spec.configs.toArray()) {
         var co;
         if ((co = cfg.attrString('@CommandOption')) != null) {
@@ -96,11 +97,11 @@
             }
         }
     }
-    
+
     while (args.length && args[0][0] == '-') {
-    
+
         var a = args.shift();
-    
+
         if (a == '--help') {
             return _help(inst, cfgarr);
         }
@@ -143,6 +144,9 @@
             /* if the user passed a value, get it */
             if (valFlag) {
                 val = valText;
+                if (val == "0" || val == "false") {
+                    val = false;
+                }
             }
             else {
                 /* the config is a boolean, no value is needed */
@@ -177,12 +181,12 @@
         }
         else {
             throw new Error('unsupported typeCode ('
-			    + typeCode 
-			    + ') for a command line parameter in config ' 
-			    + cfg.getQualName());
+                            + typeCode
+                            + ') for a command line parameter in config '
+                            + cfg.getQualName());
         }
     }
-    
+
     for (var cn in optmap) {
         cfg = optmap[cn];
         if (cmdinst[cfg.name] === undefined) {
@@ -208,7 +212,7 @@
 /*
  *  ======== read ========
  */
- 
+
 function read()
 {
     var inst = this.$private;
@@ -227,11 +231,10 @@
     else {
         /* create a BufferedReader wrapping System.in */
         inst.br = new java.io.BufferedReader(
-	    new java.io.InputStreamReader(java.lang.System['in']));
+            new java.io.InputStreamReader(java.lang.System['in']));
         return inst.br.readLine();
     }
 }
- 
 
 /*
  *  ======== usage ========
@@ -243,7 +246,7 @@
     if (inst.self.context == Cmdr.SCRIPT) {
         inst.self.error(msg);
     }
-    
+
     if (msg) {
         java.lang.System.err.println(inst.cmdname + ": " + msg);
     }
@@ -261,8 +264,8 @@
         return;
     }
 
-    java.lang.System.err.print(inst.cmdname + '[' 
-	+ (java.lang.System.currentTimeMillis() - inst.timer) + 'ms]');
+    java.lang.System.err.print(inst.cmdname + '['
+        + (java.lang.System.currentTimeMillis() - inst.timer) + 'ms]');
     java.lang.System.err.println(msg ? (': ' + msg) : '');
 }
 
@@ -281,8 +284,7 @@
 function warning(msg)
 {
     if (msg) {
-        java.lang.System.err.println(this.$private.cmdname
-            + ": " + msg);
+        java.lang.System.err.println(this.$private.cmdname + ": " + msg);
     }
 }
 
@@ -371,13 +373,14 @@
         xdoc = cfg.makeXDoc();
         var names = _decodeCommandOption(cfg.attrString('@CommandOption'));
         java.lang.System.err.println('\t' + names.join(',') + '\t' 
-				     + xdoc.summary);
+                                     + xdoc.summary);
     }
 
     var xmlDir = inst.cmdmod.$package.packageBase + 'package';
     if (!java.io.File(xmlDir + '/package.doc.xml').exists()) {
         try {
-            var tmpdir = String(Packages.xdc.services.global.Host.tmpdir()) + '/';        
+            var tmpdir = String(Packages.xdc.services.global.Host.tmpdir())
+                + '/';
             var Xml = xdc.loadCapsule('xdc/tools/cdoc/Xml.xs');
             xmlDir = Xml.gen(inst.cmdmod.$package.packageBase, tmpdir, []);
         }
@@ -418,5 +421,3 @@
     /* exit with an error code of 1 */
     return 1;
 }
-
-