From 12d32f9576d78a8581086788226f595e802f5ca8 Mon Sep 17 00:00:00 2001 From: jhb Date: Mon, 10 Mar 2008 19:58:41 +0000 Subject: Add an '-a' option which is identical to specifying '-RpP' for compatibility with other implementations. MFC after: 1 month --- bin/cp/cp.1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'bin/cp/cp.1') diff --git a/bin/cp/cp.1 b/bin/cp/cp.1 index 96d8f61..7329b64 100644 --- a/bin/cp/cp.1 +++ b/bin/cp/cp.1 @@ -45,7 +45,7 @@ .Op Fl H | Fl L | Fl P .Oc .Op Fl f | i | n -.Op Fl lpv +.Op Fl alpv .Ar source_file target_file .Nm .Oo @@ -53,7 +53,7 @@ .Op Fl H | Fl L | Fl P .Oc .Op Fl f | i | n -.Op Fl lpv +.Op Fl alpv .Ar source_file ... target_directory .Sh DESCRIPTION In the first synopsis form, the @@ -116,6 +116,10 @@ If you need to preserve hard links, consider using or .Xr pax 1 instead. +.It Fl a +Archive mode. +Same as +.Fl RpP . .It Fl f For each existing destination pathname, remove it and create a new file, without prompting for confirmation -- cgit v1.1