]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
cpio: Clarify that onyl one mode is acceptable 2908/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 16 Mar 2026 12:50:42 +0000 (13:50 +0100)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 16 Mar 2026 12:50:42 +0000 (13:50 +0100)
Do not print that at least one mode has to be supplied. Exactly one mode
has to be supplied instead.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
cpio/cpio.c

index 80ed251dd777af3b17227dfb7162916b0bd96a33..68732424aecdd71ae5266fc1fd02bb8174bfd47f 100644 (file)
@@ -427,7 +427,7 @@ main(int argc, char *argv[])
                break;
        default:
                lafe_errc(1, 0,
-                   "Must specify at least one of -i, -o, or -p");
+                   "Must specify one of -i, -o, or -p");
        }
 
        archive_match_free(cpio->matching);