Merge pull request #2350 from sylvestre/du-app

du: add --app as alias of --apparent-size to match GNU
This commit is contained in:
Sylvestre Ledru
2021-06-05 16:05:15 +02:00
committed by GitHub
+1
View File
@@ -431,6 +431,7 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
although the apparent size is usually smaller, it may be larger due to holes \
in ('sparse') files, internal fragmentation, indirect blocks, and the like"
)
.alias("app") // The GNU testsuite uses this alias
)
.arg(
Arg::with_name(options::BLOCK_SIZE)