1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

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