From 55b941695c6d263d7b01771a2aa6469661ee7da1 Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Wed, 13 Mar 2024 20:20:31 +0000 Subject: [PATCH] docs(help): explain the program and its arguments --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.rs b/src/main.rs index 158f82c..dae8567 100644 --- a/src/main.rs +++ b/src/main.rs @@ -4,10 +4,13 @@ use colored::Colorize; #[derive(Parser, Debug)] #[command(version, about, long_about = None)] +/// A simple, featureful and blazingly fast memory-safe alternative to 'rm' written in Rust. struct Args { + /// Recursively delete files and directories #[arg(short, long)] recursive: bool, + /// Don't try to preserve '~' or '/' #[arg(long)] no_preserve: bool,