mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 15:22:38 +00:00
fix: swap cp
’s short -r
and alias -R
recursive options
the only implementable portion of #6223 is “to switch `-R` and `-r` to `-r` being the alias because `-R` is the POSIX flag” https://github.com/uutils/coreutils/issues/6223#issuecomment-2054097049 Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
This commit is contained in:
parent
333e4d9fe9
commit
ffab3a12e7
1 changed files with 2 additions and 2 deletions
|
@ -475,8 +475,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")
|
||||||
|
|
Loading…
Reference in a new issue