]> git.ipfire.org Git - thirdparty/coreutils.git/commit
doc: cp --no-clobber: improve documentation
authorPádraig Brady <P@draigBrady.com>
Sun, 17 Dec 2023 14:35:36 +0000 (14:35 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 17 Dec 2023 17:19:11 +0000 (17:19 +0000)
commit63e9f1ae61e4b48ab8fe505a7d9bd1ae092c1a32
treeeedab1b29fbf3281be1c2780f73547e0b2e54566
parentda091b3ab33a31f1354b8ab42915faf15c3c4745
doc: cp --no-clobber: improve documentation

* doc/coreutils.texi (cp invocation): Reference the related --update
option, like we had already done in mv invocation.
* src/cp.c (usage): State clearly what --no-clobber does,
indicating it's protection focused, rather than being update focused.
doc/coreutils.texi
src/cp.c