Skip to content

Commit

Permalink
Merge pull request #6231 from LucasLarson/copy-recursive-option
Browse files Browse the repository at this point in the history
swap `cp`’s short `-r` and alias `-R` recursive options
  • Loading branch information
sylvestre committed Apr 14, 2024
2 parents 652c65f + ffab3a1 commit 7f71611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/uu/cp/src/cp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,8 @@ pub fn uu_app() -> Command {
)
.arg(
Arg::new(options::RECURSIVE)
.short('r')
.visible_short_alias('R')
.short('R')
.visible_short_alias('r')
.long(options::RECURSIVE)
// --archive sets this option
.help("copy directories recursively")
Expand Down

0 comments on commit 7f71611

Please sign in to comment.