mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-30 20:47:46 +00:00
ln: use "replace" in interactive mode
GNU ln uses "replace" instead of "overwrite"
This commit is contained in:
parent
9d54ed02a8
commit
aa4101fe2f
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ fn link(src: &Path, dst: &Path, settings: &Settings) -> UResult<()> {
|
|||
match settings.overwrite {
|
||||
OverwriteMode::NoClobber => {}
|
||||
OverwriteMode::Interactive => {
|
||||
if !prompt_yes!("overwrite {}?", dst.quote()) {
|
||||
if !prompt_yes!("replace {}?", dst.quote()) {
|
||||
return Err(LnError::SomeLinksFailed.into());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue