mirror of
https://github.com/uutils/coreutils
synced 2024-11-15 01:17:09 +00:00
Added the aliases -h and -V for --help and --version to rmdir
This commit is contained in:
parent
1d3fe8402f
commit
90b3ad4bd2
1 changed files with 2 additions and 2 deletions
|
@ -23,8 +23,8 @@ fn main() {
|
|||
groups::optflag("", "ignore-fail-on-non-empty", "ignore each failure that is solely because a directory is non-empty"),
|
||||
groups::optflag("p", "parents", "remove DIRECTORY and its ancestors; e.g., 'rmdir -p a/b/c' is similar to rmdir a/b/c a/b a"),
|
||||
groups::optflag("v", "verbose", "output a diagnostic for every directory processed"),
|
||||
groups::optflag("", "help", "print this help and exit"),
|
||||
groups::optflag("", "version", "output version information and exit")
|
||||
groups::optflag("h", "help", "print 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