Subject: bug#47703: Same category as "ln <dir> <symdir>" (was: bug#47703: Mention if ln -s needs -r, or ln -r needs -s)

From: L A Walsh <[email-masked]>
Date: Thu, 29 Apr 2021 19:52:05 -0700

On 2021/04/11 07:21, Pádraig Brady wrote:
> On 09/04/2021 12:46, 積丹尼 Dan Jacobson wrote:
>> man ln says:
>>         -r, --relative
>>                create symbolic links relative to link location
>>         -s, --symbolic
>>                make symbolic links instead of hard links
>> Hard to tell from the man page.
---
    Seems like another related example ignoring what the user wants and
issuing an error for an inexact usage.

    If you used "-r" by itself, or if you try linking a directory,
either without "-s", you get an error message, when it would be more
helpful to assume "-s" and give a diagnostic if "interactive" (assumption
being, that if it was in a script, it was obviously intended that way,
as any other way generates an error).

> Fair point.
> thanks, Pádraig