diff options
author | Thomas Hurst <tom@hur.st> | 2020-02-22 04:51:14 +0000 |
---|---|---|
committer | Thomas Hurst <tom@hur.st> | 2020-02-22 05:13:28 +0000 |
commit | 5b522946adb5bb71dd51068eee5f1136e6403b31 (patch) | |
tree | 25ffceb6698d76c4c5cecf2017289ce6eaa98ed9 /src/options.rs | |
parent | 0c86b894caf99d3bee319c5af6f1dcf754b44011 (diff) |
Add hardlink tracking, and an option to disable it
Diffstat (limited to 'src/options.rs')
-rw-r--r-- | src/options.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/options.rs b/src/options.rs index 4dc1aff..e3e44a2 100644 --- a/src/options.rs +++ b/src/options.rs @@ -56,6 +56,10 @@ pub struct Args { #[structopt(short = "A", long = "apparent-size")] pub apparent_size: bool, + /// Count hard-linked files each time they are seen + #[structopt(short = "l", long = "count-links")] + pub count_links: 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>, |