1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 19:47:45 +00:00

add comment

This commit is contained in:
Jan Scheer 2021-03-17 14:46:25 +01:00 committed by GitHub
parent 867e117c99
commit d9adec3496
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -129,6 +129,8 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
.help("remove directories and their contents recursively")
)
.arg(
// To mimic GNU's behavior we also want the '-R' flag. However, using clap's
// alias method 'visible_alias("R")' would result in a long '--R' flag.
Arg::with_name(OPT_RECURSIVE_R).short("R")
.help("Equivalent to -r")
)