Open elliotwutingfeng opened 1 year ago
Fix timeout flag behavior for 0 value, negative value, empty value, and non-numeric value. Add timeout flag description to README.
-t0 -t-42 -> timeout of 0s (i.e. timeout disabled)
-t0
-t-42
-t -t' ' -ta1 -t1a -> reject timeout value as invalid, and hence fallback to default timeout of 120s
-t
-t' '
-ta1
-t1a
Fixes #804
--help
master
This pull request has been inactive for 360 days
Fix timeout flag behavior for 0 value, negative value, empty value, and non-numeric value. Add timeout flag description to README.
Example
0 or negative values
-t0
-t-42
-> timeout of 0s (i.e. timeout disabled)Empty or non-numeric values
-t
-t' '
-ta1
-t1a
-> reject timeout value as invalid, and hence fallback to default timeout of 120sRelevant issues
Fixes #804
Contributor checklist
--help
outputmaster
branchMaintainer checklist