bug#70727: cp doesn't recognize the new --update=none-fail option

2024-05-03 Thread Pádraig Brady
On 03/05/2024 05:12, Attila Fidan via GNU coreutils Bug Reports wrote: Hi, I wanted to use the new cp --update=none-fail option introduced in 9.5, but it said "invalid argument ‘none-fail’ for ‘--update’". It turns out that the commit (49912bac286eb3c0ef7d1567ae790193ad5eb2e8) adding it forgot t

bug#70727: cp doesn't recognize the new --update=none-fail option

2024-05-02 Thread Attila Fidan via GNU coreutils Bug Reports
Hi, I wanted to use the new cp --update=none-fail option introduced in 9.5, but it said "invalid argument ‘none-fail’ for ‘--update’". It turns out that the commit (49912bac286eb3c0ef7d1567ae790193ad5eb2e8) adding it forgot to add the new operation to update_type[] and update_type_string[] in cp.c