cp: fix help for `-H`
@@ -497,6 +497,11 @@ pub fn uu_app<'a>() -> Command<'a> {
.overrides_with(options::NO_DEREFERENCE)
.help("always follow symbolic links in SOURCE"),
)
+ .arg(
+ Arg::new(options::CLI_SYMBOLIC_LINKS)
+ .short('H')
+ .help("follow command-line symbolic links in SOURCE"),
+ )
.arg(
Arg::new(options::ARCHIVE)
.short('a')
@@ -544,11 +549,6 @@ pub fn uu_app<'a>() -> Command<'a> {
default type",
),
)
- .arg(
- Arg::new(options::CLI_SYMBOLIC_LINKS)
- .short('H')
- .help("NotImplemented: follow command-line symbolic links in SOURCE"),
- )
// END TODO
.arg(
Arg::new(options::PATHS)
