summaryrefslogtreecommitdiffstats
path: root/src/options.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.rs')
-rw-r--r--src/options.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/options.rs b/src/options.rs
index 2aa75d3..4dc1aff 100644
--- a/src/options.rs
+++ b/src/options.rs
@@ -52,6 +52,10 @@ pub struct Args {
#[structopt(short = "f", long = "format")]
pub format: Option<ByteFormat>,
+ /// Display apparent size instead of disk usage.
+ #[structopt(short = "A", long = "apparent-size")]
+ pub apparent_size: bool,
+
/// One or more input files or directories. If unset, we will use all entries in the current working directory.
#[structopt(parse(from_os_str))]
pub input: Vec<PathBuf>,