Merge pull request #8520 from sylvestre/clap-loca-improv

clap localization improvements
This commit is contained in:
Daniel Hofstetter
2025-08-28 08:20:50 +02:00
committed by GitHub
2 changed files with 505 additions and 167 deletions
File diff suppressed because it is too large Load Diff
+9
View File
@@ -1430,3 +1430,12 @@ fn test_du_inodes_total_text() {
assert!(parts[0].parse::<u64>().is_ok());
}
#[test]
fn test_du_threshold_no_suggested_values() {
// tested by tests/du/threshold
let ts = TestScenario::new(util_name!());
let result = ts.ucmd().arg("--threshold").fails();
assert!(!result.stderr_str().contains("[possible values: ]"));
}