Update README.markdown
Provide a boolean flag demo.
diff --git a/README.markdown b/README.markdown
index 048bc39..18c69e7 100644
--- a/README.markdown
+++ b/README.markdown
@@ -30,12 +30,12 @@
```java
CommanderTest jct = new JCommanderTest();
String[] argv = { "-log", "2", "-groups", "unit1,unit2,unit3",
- "-Doption=value", "a", "b", "c" };
+ "-debug", "-Doption=value", "a", "b", "c" };
new JCommander(jct, argv);
Assert.assertEquals(2, jct.verbose.intValue());
-
Assert.assertEquals("unit1,unit2,unit3", jct.groups);
+Assert.assertEquals(true, jct.debug);
Map<String, String> params = new HashMap<String, String>();
params.put("option", "value");