<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -36,7 +36,7 @@ public class OptionTest {
         // Here, we add --alt and --name options.
 
         CmdLineParser.Option alt = parser.addBooleanOption(&quot;alt&quot;);
-        CmdLineParser.Option name = parser.addStringOption(&quot;name&quot;);
+        CmdLineParser.Option name = parser.addStringOption('n', &quot;name&quot;);
 
 
         // Next, you must parse the user-provided command line arguments, and</diff>
      <filename>src/jargs/examples/gnu/OptionTest.java</filename>
    </modified>
    <modified>
      <diff>@@ -240,6 +240,13 @@ public class CmdLineParserTestCase extends TestCase {
 		} catch (CmdLineParser.IllegalOptionValueException e) {
 		}
 	}
+
+	public void testWhitespaceValueForStringOption() throws Exception {
+		CmdLineParser parser = new CmdLineParser();
+		CmdLineParser.Option opt = parser.addStringOption('o', &quot;option&quot;);
+		parser.parse(new String[] {&quot;-o&quot;, &quot; &quot;});
+		assertEquals(&quot; &quot;, parser.getOptionValue(opt));
+	}
 	
 	private void assertArrayEquals(Object[] expected, Object[] actual) {
 		assertNotNull(actual);</diff>
      <filename>src/jargs/test/gnu/CmdLineParserTestCase.java</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>b344b04afd570ac532e5f27a7ffc381b3fcc97f3</id>
    </parent>
  </parents>
  <author>
    <name>Steve Purcell</name>
    <email>steve@sanityinc.com</email>
  </author>
  <url>http://github.com/purcell/jargs/commit/48ae2fc0dfd2e419630f4e973e8235473ad667f2</url>
  <id>48ae2fc0dfd2e419630f4e973e8235473ad667f2</id>
  <committed-date>2008-01-30T07:30:57-08:00</committed-date>
  <authored-date>2008-01-30T07:30:57-08:00</authored-date>
  <message>Add unit test for a mis-reported bug</message>
  <tree>21bc67c9d25c3e0334f015d4c88a82e6878f486e</tree>
  <committer>
    <name>Steve Purcell</name>
    <email>steve@sanityinc.com</email>
  </committer>
</commit>
