Feature: Implement ISO output

This commit is contained in:
Gustavobb
2021-11-17 22:13:54 +00:00
committed by andy.boot
parent 2749f56b7a
commit f708305190
2 changed files with 31 additions and 13 deletions
+7
View File
@@ -220,6 +220,12 @@ fn main() {
.help("Specify width of output overriding the auto detection of terminal width"),
)
.arg(Arg::with_name("inputs").multiple(true).default_value("."))
.arg(
Arg::with_name("iso")
.short("H")
.long("si")
.help("print sizes in powers of 1000 (e.g., 1.1G)")
)
.get_matches();
let target_dirs = options
@@ -314,5 +320,6 @@ fn main() {
terminal_width,
by_filecount,
tree,
options.is_present("iso"),
);
}