[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Explanation option -C from Help and Man for tar
From: |
stranger573 |
Subject: |
Re: [Bug-tar] Explanation option -C from Help and Man for tar |
Date: |
Thu, 08 Oct 2015 16:08:12 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20131123 Thunderbird/17.0.11 |
08.10.2015 00:32, Dmitry V. Levin пишет:
> Hi,
>
> On Wed, Oct 07, 2015 at 08:53:29PM +0300, stranger573 wrote:
>> Help and man for tar contains a obscure explanation of option -C.
>> '-C, --directory=DIR change to directory DIR'
>>
>> >From this it is not clear what the directory is change.
>>
>> Is it possible to change the text, for example as:
>> 'extract to directory=DIR'
>> or
>> 'change directory=DIR for extract the contents of archive'
>> or other, but most clear.
> Unfortunately, the wording you propose doesn't make it any clearer.
> Compare with the description of -C option in "info tar":
>
> `--directory=DIR'
> `-C DIR'
> When this option is specified, `tar' will change its current
> directory to DIR before performing any operations. When this
> option is used during archive creation, it is order sensitive.
>
>
I'm not proposing this as a replacement.
I propose add to man description and examples for each work mode.
Needed descriptions for this part.
As example:
-C, --directory=DIR change to directory DIR
For x mode this is extract to directory=DIR
<example>
For c mode this is source directory=DIR of files
<example>
<example>
For r mode ...
<example>
Regards,
stranger573