[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'install --target-directory' is documented but not implemented
From: |
Jim Meyering |
Subject: |
Re: 'install --target-directory' is documented but not implemented |
Date: |
Wed, 30 Jun 2004 20:44:04 +0200 |
Paul Eggert <address@hidden> wrote:
> The --target-directory option is documented for 'install', but it's
> not implemented. Here's a patch to implement it. It steals most of
> the code from the changes I've already proposed for cp/ln/mv.
>
> 2004-06-25 Paul Eggert <address@hidden>
>
> Add support for 'install --target-directory', an option
> that has been documented for years but not implemented (!).
> * doc/coreutils.texi (install invocation): Document
> --target-directory in synopsis, too.
> * src/install.c (TARGET_DIRECTORY_OPTION): New var.
> (long_options, main, usage): Add --target-directory.
> (target_directory_operand): New function, stolen from mv.c.
> (main): Use it. Check for -d and --target-directory.
> Alter wording of diagnostics to match other programs.
Thanks.
I've applied this.