Added the aliases -h and -V for --help and --version to rm

This commit is contained in:
Arcterus 2013-12-18 17:14:04 -08:00
parent 204260b739
commit fe1edd9f67

View file

@ -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,