1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #6231 from LucasLarson/copy-recursive-option

swap `cp`’s short `-r` and alias `-R` recursive options
This commit is contained in:
Sylvestre Ledru 2024-04-14 22:09:07 +02:00 committed by GitHub
commit 7f71611849
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -467,8 +467,8 @@ pub fn uu_app() -> Command {
) )
.arg( .arg(
Arg::new(options::RECURSIVE) Arg::new(options::RECURSIVE)
.short('r') .short('R')
.visible_short_alias('R') .visible_short_alias('r')
.long(options::RECURSIVE) .long(options::RECURSIVE)
// --archive sets this option // --archive sets this option
.help("copy directories recursively") .help("copy directories recursively")