Re: docs: --ignore=regexp or --ignore=glob ?
Adam Spiers <[email protected]> Sun, 11 Feb 2018 18:00:21 +0000
| Newsgroups | gmane.comp.gnu.stow.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Jul 12, 2017 at 12:53:52PM +0000, Daniel Shahaf wrote:
>Hi,
>
>I'd like to report a documentation bug.
>
>In current master (revision 655e8e4a3d9a), the manual says:
>
>> @item --ignore=@var{regexp}
>> This (repeatable) option lets you suppress acting on files that match the
>> given perl regular expression. For example, using the options
>>
>> @example
>> --ignore='*.orig' --ignore='*.dist'
>> @end example
>
>The argument is described as a regexp in the synopsis and in the prose,
>but the example, '*.orig', is not a valid regular expression; it's a
>glob pattern.
Great catch, thanks! Fixed in git master and will be in the next release:
https://github.com/aspiers/stow/commit/c84de4eb146f1dba9cb49e60b715c65bd98360ae