-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change handling of spaces and empty list values (#10)
Change handling of spaces and empty list values: - add `keep-spaces` and `keep-empty` options to struct tags to restore prior behavior - add `string.TrimSpaces()` before parsing argument value if `keep-spaces` is not specified - add `string.TrimSpaces()` on individual list values if `keep-spaces` is not specified - drop empty list values if `keep-empty` is not specified - Update `README.md` to describe new behavior - Update `RELEASES.md` with new spaces behavior for upcoming v0.5.0 - Update go.mod packages to latest
- Loading branch information
1 parent
2090d7e
commit 9f6ceb7
Showing
6 changed files
with
194 additions
and
74 deletions.
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
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
Oops, something went wrong.