grimblast: allow decimals for --wait #127
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
grimblast --wait
currently only allows whole numbers, and I myself like to use it to get the cursor out of the way for screenshots, however a whole second is just a bit too unnatural too long for me and I'd like to use something like 0.5 or 0.7, so I've changed the regex to allow adding decimal numbers (I hope the regex is alright)The usage still says
[--wait N]
but I initally expectedN
to also include decimal numbers, so not sure if this should just stay the same or if the usage should also mention that decimals are allowed, although I think that may be a bit confusing and should just stay this wayThings done
For new programs
maintainer
it)
CI checks matrix
For changes