Skip to content

Man page for ln has mismatch between Synopsis and Extra sections #12366

@hhmitchell

Description

@hhmitchell

The EXTRA section in the man page for ln starts:

In the 1st form, create a link to TARGET with the name LINK_NAME.  In the 2nd form, create a link to TARGET in the current directory.  In the 3rd  and  4th  forms, create links....

However, the SYNOPSIS section only shows one form:

ln  [--backup]  [-b  ]  [-f|--force]  [-i|--interactive] [-n|--no-dereference] [-L|--logical] [-P|--physical] [-s|--symbolic] [-S|--suffix] [-t|--target-directory]
[-T|--no-target-directory] [-r|--relative] [-v|--verbose] [-h|--help] [-V|--version] <files>

It looks like the EXTRA text is a holdover from the DESCRIPTION section of the old man page:
https://www.gnu.org/software/coreutils/manual/html_node/ln-invocation.html

The uutils man page should be updated to either show the 4 forms in the SYNOPSIS or update the EXTRA section accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions