sbergot / ArgParser

BSD 3-Clause "New" or "Revised" License
9 stars 2 forks source link

`reflow` loop infinitely for words longer than `maxWidth` #5

Open sgraf812 opened 8 years ago

sgraf812 commented 8 years ago

When the usage string of some parameter contains a word longer than maxWidth (e.g. a file path), reflow loops infinitely.

This is the offending bit, specifically line 114.