mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
du: add -V and -h
This commit is contained in:
parent
4a30b69562
commit
52f17ef227
1 changed files with 2 additions and 2 deletions
4
du/du.rs
4
du/du.rs
|
@ -141,8 +141,8 @@ fn main() {
|
|||
// In main
|
||||
getopts::optopt("", "time-style", "show times using style STYLE:
|
||||
full-iso, long-iso, iso, +FORMAT FORMAT is interpreted like 'date'", "STYLE"),
|
||||
getopts::optflag("", "help", "display this help and exit"),
|
||||
getopts::optflag("", "version", "output version information and exit"),
|
||||
getopts::optflag("h", "help", "display this help and exit"),
|
||||
getopts::optflag("V", "version", "output version information and exit"),
|
||||
];
|
||||
|
||||
let matches = match getopts::getopts(args.tail(), opts) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue