]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cp: improve quality of overwrite prompt
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Mar 2014 06:14:43 +0000 (23:14 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 25 Mar 2014 06:18:41 +0000 (23:18 -0700)
commit4b25fdbdabce1b758e55880d0aa3947614d94c3d
treec67488717b39abf12bb3fae00f60b1f05ad4087d
parent5f9a5b3f0346f4fb6b758953d4eaeff3d6a419d6
cp: improve quality of overwrite prompt

* src/copy.c (overwrite_prompt): New arg X.  All callers changed.
Use X to improve the quality of the prompt (Bug#17087).
* tests/mv/i-2.sh, tests/mv/i-3.sh: Change test to match new prompt.
src/copy.c
tests/mv/i-2.sh
tests/mv/i-3.sh