Softhouse / jargo

Argument and options parser for java
Other
17 stars 0 forks source link

Handle long strings in usage #11

Closed jontejj closed 11 years ago

jontejj commented 11 years ago

Includes long:

Replace each newline with a newline and enough spaces to fill up the left column. Split up long lines, Use BreakIterator.getLineInstance()?

jontejj commented 11 years ago

As some tests concerning file arguments found out, breaking up default value descriptions and valid value explanations may be very bad. For example, breaking up:

Default: /Users/user/maven_projects/softhouse.se/jargo/jargo/.

Into Default: /Users/user/maven_projects/softhouse.se/ jargo/jargo/.

means that an invalid file path is produced, not a good thing.