-
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.
* Add size (flag) parsing: * `ParseByteSize`: Parse a size (defaults to byte sizes). * `ActionByteSize`: Argument parsing `Action` for size values (default for bytes). * The `ActioByteSize` does not allow an empty string. That should lead to `argument flag: value cannot be empty.` covered in test: 'Unit only is invalid.'.' * Even if the unit is `0` it is not allowed.
- Loading branch information
Showing
3 changed files
with
457 additions
and
10 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
Oops, something went wrong.