diff --git a/src/main.rs b/src/main.rs index c644648..091929a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,13 +16,13 @@ enum Command { #[structopt(name = "list")] List(ListOptions), - /// Puts files into the trash. + /// Puts files into the trash. (also 'garbage rm') /// /// If a trash directory isn't specified, the best strategy is picked /// for each file that's deleted (after shell glob expansion). The /// algorithm for deciding a strategy is specified in the FreeDesktop /// Trash spec. - #[structopt(name = "put")] + #[structopt(name = "put", alias = "rm")] Put(PutOptions), /// Restores files from the trash. @@ -45,9 +45,6 @@ fn main() { Ok(_) => (), Err(err) => { eprintln!("Error: {}", err); - // for cause in err.chain() { - // eprintln!("- {:?}", cause); - // } } } }