On 03/07/2012 03:11 PM, Jim Meyering wrote: > Bernhard Voelker wrote: >> For tail, both 'follow' modes are allowed: >> >> $ src/tail --follow=name --follow=descriptor /tmp/x >> >> It obviously uses the latter option. >> >> Should >> a) this behaviour be documented in the info page? >> b) tail proceed with a warning? >> c) such a combination be rejected? >> d) we do nothing? > > Probably (d), since it is common practice for tools to let > the final mode-selection option override any preceding ones. > E.g., the -H, -L, -P triple accepted by ch???, cp, du and ls. > > Do you think that some would benefit from added documentation?
Probably you're right: it's rather clear when the user passes "--follow=name --follow=descriptor", but it may become less obvious when she uses "-F -f". Have a nice day, Berny
