-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optparse: fix parser hang with split line option and description
* specs/optparse_spec.yaml (optparse): Add a split line option description to example help text. * lib/optparse/init.lua (_init): Add a trailing space to each option line to be matched as a separator with option patterns using trailing %s. (OptionParser): Add an example to luadocs. * NEWS.md (Bug fixes): Update. Reported-by: Jakub Jirutka <[email protected]> Signed-off-by: Gary V. Vaughan <[email protected]>
- Loading branch information
Showing
3 changed files
with
9 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters