mirror of
https://github.com/uutils/coreutils
synced 2024-12-13 14:52:41 +00:00
Added the aliases -h and -V for --help and --version to rm
This commit is contained in:
parent
204260b739
commit
fe1edd9f67
1 changed files with 2 additions and 2 deletions
4
rm/rm.rs
4
rm/rm.rs
|
@ -52,8 +52,8 @@ fn main() {
|
|||
groups::optflag("r", "recursive", "remove directories and their contents recursively"),
|
||||
groups::optflag("d", "dir", "remove empty directories"),
|
||||
groups::optflag("v", "verbose", "explain what is being done"),
|
||||
groups::optflag("", "help", "display this help and exit"),
|
||||
groups::optflag("", "version", "output version information and exit")
|
||||
groups::optflag("h", "help", "display this help and exit"),
|
||||
groups::optflag("V", "version", "output version information and exit")
|
||||
];
|
||||
let matches = match groups::getopts(args.tail(), opts) {
|
||||
Ok(m) => m,
|
||||
|
|
Loading…
Reference in a new issue