This option is ignored when the @option{--no-clobber} or @option{-n} option
is also used.
-@optItem{cp,-H,}
-If a command line argument specifies a symbolic link, then copy the
-file it points to rather than the symbolic link itself. However,
-copy (preserving its nature) any symbolic link that is encountered
-via recursive traversal.
-
@optItem{cp,-i,}
@optItemx{cp,--interactive,}
When copying a file other than a directory, prompt whether to
is not affirmative. The @option{-i} option overrides
a previous @option{-n} option.
-@optItem{cp,-l,}
-@optItemx{cp,--link,}
-Make hard links instead of copies of non-directories.
+@optItem{cp,-H,}
+If a command line argument specifies a symbolic link, then copy the
+file it points to rather than the symbolic link itself. However,
+copy (preserving its nature) any symbolic link that is encountered
+via recursive traversal.
@optItem{cp,-L,}
@optItemx{cp,--dereference,}
For example, a symlink (to regular file) in the source tree will be copied to
a regular file in the destination tree.
-@optItem{cp,-n,}
-@optItemx{cp,--no-clobber,}
-Do not overwrite an existing file; silently skip instead.
-This option overrides a previous @option{-i} option.
-This option is mutually exclusive with @option{-b} or @option{--backup} option.
-This option is deprecated due to having a different exit status from
-other platforms. See also the @option{--update} option which will
-give more control over how to deal with existing files in the destination,
-and over the exit status in particular.
-
@optItem{cp,-P,}
@optItemx{cp,--no-dereference,}
@cindex symbolic links, copying
as an attacker can place symlinks in the destination
to cause @command{cp} write to arbitrary target directories.
+@optItem{cp,-l,}
+@optItemx{cp,--link,}
+Make hard links instead of copies of non-directories.
+
+@optItem{cp,-n,}
+@optItemx{cp,--no-clobber,}
+Do not overwrite an existing file; silently skip instead.
+This option overrides a previous @option{-i} option.
+This option is mutually exclusive with @option{-b} or @option{--backup} option.
+This option is deprecated due to having a different exit status from
+other platforms. See also the @option{--update} option which will
+give more control over how to deal with existing files in the destination,
+and over the exit status in particular.
+
@optItem{cp,-p,}
@optItemx{cp,--preserve,[=@var{attribute_list}]}
@cindex file information, preserving, extended attributes, xattr