From a8249aba924e887d50ab0a93867b0b8c061f31c4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 24 Jun 2005 08:05:51 +0000 Subject: (cp invocation): Clarify how --reply=no works. --- doc/coreutils.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 3af02df2a..8e69b726d 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -6515,6 +6515,10 @@ given as a response to every prompt about a destination file. That effectively cancels any preceding @option{--interactive} or @option{-i} option. Specify @option{--reply=no} to make @command{cp} act as if @samp{no} were given as a response to every prompt about a destination file. +Note that @option{--reply=no} has an effect only when mv would prompt +without @option{-i} or equivalent, i.e., when a destination file exists and is +not writable, standard input is a terminal, and no @option{-f} (or equivalent) +option is specified. Specify @option{--reply=query} to make @command{cp} prompt the user about each existing destination file. -- cgit v1.2.3-70-g09d2