mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 12:37:49 +00:00
Fix typo
This commit is contained in:
parent
d277603bf1
commit
4695c2a204
1 changed files with 1 additions and 1 deletions
|
@ -914,7 +914,7 @@ impl FromStr for Threshold {
|
||||||
|
|
||||||
if s.starts_with('-') {
|
if s.starts_with('-') {
|
||||||
// Threshold of '-0' excludes everything besides 0 sized entries
|
// Threshold of '-0' excludes everything besides 0 sized entries
|
||||||
// GNU's du threats '-0' as an invalid argument
|
// GNU's du treats '-0' as an invalid argument
|
||||||
if size == 0 {
|
if size == 0 {
|
||||||
return Err(ParseSizeError::ParseFailure(s.to_string()));
|
return Err(ParseSizeError::ParseFailure(s.to_string()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue