doc: cp --help: mention --reflink=auto is now the default

* src/cp.c (usage): Reword the REFLINK description to
indicate that --reflink=auto is the default.
Fixes https://github.com/coreutils/coreutils/issues/103
This commit is contained in:
Pádraig Brady committed 2025-06-07 18:53:43 +01:00
1 parent 037b931061
commit 2f6a74920b
1 file changed
+4 -4
+4 -4
View File
@@ -267,10 +267,10 @@ Use --sparse=never to inhibit creation of sparse files.\n\
emit_update_parameters_note ();
fputs (_("\
\n\
When --reflink[=always] is specified, perform a lightweight copy, where the\n\
data blocks are copied only when modified. If this is not possible the copy\n\
fails, or if --reflink=auto is specified, fall back to a standard copy.\n\
Use --reflink=never to ensure a standard copy is performed.\n\
By default or with --reflink=auto, cp will try a lightweight copy, where the\n\
data blocks are copied only when modified, falling back to a standard copy\n\
if this is not possible. With --reflink[=always] cp will fail if CoW is not\n\
supported, while --reflink=never ensures a standard copy is performed.\n\
"), stdout);
emit_backup_suffix_note ();
fputs (_("\