Johan Boule <[EMAIL PROTECTED]> wrote:
> in the output of cp --help,
> the line of --no-dereferrence should be merged with
> the line of -P, like:
>
>       -P, --no-dereferrence   never follow symbolic links

Thanks for pointing that out.
Now cp's --help output looks like this:

  Usage: ./cp [OPTION]... [-T] SOURCE DEST
    or:  ./cp [OPTION]... SOURCE... DIRECTORY
    or:  ./cp [OPTION]... -t DIRECTORY SOURCE...
  Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.

  Mandatory arguments to long options are mandatory for short options too.
    -a, --archive                same as -dpR
        --backup[=CONTROL]       make a backup of each existing destination file
    -b                           like --backup but does not accept an argument
        --copy-contents          copy contents of special files when recursive
    -d                           same as --no-dereference --preserve=link
    -f, --force                  if an existing destination file cannot be
                                   opened, remove it and try again
    -i, --interactive            prompt before overwrite
    -H                           follow command-line symbolic links
    -l, --link                   link files instead of copying
    -L, --dereference            always follow symbolic links
    -P  --no-dereference         never follow symbolic links
    -p                           same as --preserve=mode,ownership,timestamps
        --preserve[=ATTR_LIST]   preserve the specified attributes (default:
                                   mode,ownership,timestamps), if possible
                                   additional attributes: links, all
        --no-preserve=ATTR_LIST  don't preserve the specified attributes
        --parents                append source path to DIRECTORY
    -R, -r, --recursive          copy directories recursively
    ...


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to