We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5338401 commit e50ddecCopy full SHA for e50ddec
src/uu/du/src/du.rs
@@ -1288,6 +1288,7 @@ pub fn uu_app() -> Command {
1288
.short('a')
1289
.long(options::ALL)
1290
.help(translate!("du-help-all"))
1291
+ .conflicts_with(options::SUMMARIZE)
1292
.action(ArgAction::SetTrue),
1293
)
1294
.arg(
tests/by-util/test_du.rs
@@ -84,6 +84,11 @@ fn du_basics(s: &str) {
84
assert_eq!(s, answer);
85
}
86
87
+#[test]
88
+fn test_all_summarize() {
89
+ new_ucmd!().arg("-a").arg("-s").fails_with_code(1); //clap provided message
90
+}
91
+
92
#[test]
93
fn test_invalid_arg() {
94
new_ucmd!().arg("--definitely-invalid").fails_with_code(1);
0 commit comments