From fe1edd9f67e71a3fb64edb7d11cf0eeb0db11f2e Mon Sep 17 00:00:00 2001 From: Arcterus Date: Wed, 18 Dec 2013 17:14:04 -0800 Subject: [PATCH] Added the aliases -h and -V for --help and --version to rm --- rm/rm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rm/rm.rs b/rm/rm.rs index 8c6652a03..13d0c6333 100644 --- a/rm/rm.rs +++ b/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,