diff options
| author | Pádraig Brady <P@draigBrady.com> | 2025-06-07 14:27:59 +0100 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2025-06-07 18:53:43 +0100 |
| commit | 2f6a74920b38d48d46a73d7835cd53ce85d08fe7 (patch) | |
| tree | 4ea2d2b7467308f3c2fddf85971c5b99ffadcbc8 | |
| parent | doc: make command synopsis more consistent (diff) | |
| download | coreutils-2f6a74920b38d48d46a73d7835cd53ce85d08fe7.tar.gz coreutils-2f6a74920b38d48d46a73d7835cd53ce85d08fe7.zip | |
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
| -rw-r--r-- | src/cp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 (_("\ |
