cp: fix help for -H

This commit is contained in:
Niyaz Nigmatullin 2022-09-23 20:35:14 +03:00
parent 90babe2775
commit 9166269aec

View file

@ -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)