docs(help): explain the program and its arguments

This commit is contained in:
Muhammad Nauman Raza 2024-03-13 20:20:31 +00:00
parent 40b30bd9d8
commit 3873f24d5c
Signed by: devraza
GPG key ID: 91EAD6081011574B

View file

@ -4,10 +4,13 @@ use colored::Colorize;
#[derive(Parser, Debug)] #[derive(Parser, Debug)]
#[command(version, about, long_about = None)] #[command(version, about, long_about = None)]
/// A simple, featureful and blazingly fast memory-safe alternative to 'rm' written in Rust.
struct Args { struct Args {
/// Recursively delete files and directories
#[arg(short, long)] #[arg(short, long)]
recursive: bool, recursive: bool,
/// Don't try to preserve '~' or '/'
#[arg(long)] #[arg(long)]
no_preserve: bool, no_preserve: bool,