I noticed a word omission when I typed "cp --?". The -P (or -d)
option states:

  -P|d, --physical|nodereference
                  Don't follow symbolic links; copy symbolic rather than the
                  files they point to.

I figure it would read better like this:

  -P|d, --physical|nodereference
                  Don't follow symbolic links; copy symbolic links
rather than
                  the files they point to.

I've attached cp.c.diff to update the getopts documentation for cp.

                    Terrence Doyle

--- src/lib/libcmd/cp.c.orig    2013-07-16 16:45:26.000000000 -0500
+++ src/lib/libcmd/cp.c 2014-12-22 00:25:18.000000000 -0600
@@ -61,7 +61,7 @@
 "[L:logical|dereference?Follow symbolic links and copy the files they "
     "point to.]"
 "[P|d:physical|nodereference?Don't follow symbolic links; copy symbolic "
-    "rather than the files they point to.]"
+    "links rather than the files they point to.]"
 ;
 
 static const char usage_ln[] =
_______________________________________________
ast-developers mailing list
ast-developers@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to