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 c9adcc512e
commit 55b941695c

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,