docs(help): explain the program and its arguments
This commit is contained in:
parent
40b30bd9d8
commit
3873f24d5c
|
@ -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,
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue