diff --git a/src/uu/du/src/du.rs b/src/uu/du/src/du.rs index 14c7fe5d4..7114ccc26 100644 --- a/src/uu/du/src/du.rs +++ b/src/uu/du/src/du.rs @@ -83,25 +83,20 @@ struct TraversalOptions { dereference: Deref, count_links: bool, verbose: bool, + excludes: Vec, } -#[derive(Clone)] -struct PrintingOptions { +struct StatPrinter { total: bool, inodes: bool, max_depth: Option, threshold: Option, apparent_size: bool, - // TODO: the size conversion fields should be unified - si: bool, - bytes: bool, - human_readable: bool, - block_size_1k: bool, - block_size_1m: bool, - block_size: u64, + size_format: SizeFormat, time: Option