mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 19:17:43 +00:00
du --version was not implemented
This commit is contained in:
parent
4dd5fab79d
commit
4a30b69562
1 changed files with 3 additions and 0 deletions
3
du/du.rs
3
du/du.rs
|
@ -170,6 +170,9 @@ SIZE is an integer and optional unit (example: 10M is 10*1024*1024).
|
|||
Units are K, M, G, T, P, E, Z, Y (powers of 1024) or KB, MB, ... (pow‐
|
||||
ers of 1000).");
|
||||
return
|
||||
} else if matches.opt_present("version") {
|
||||
println!("du version: {}", VERSION);
|
||||
return
|
||||
}
|
||||
|
||||
let options = Options{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue