Skip to content

ls: --hyperlink -R omits parent dir when displaying child dir #6492

@cakebaker

Description

@cakebaker

While reviewing #6144 I discovered the following issue:

$ mkdir -p dir/subdir
$ cargo run ls --hyperlink -R dir
dir:
subdir

subdir:   <- parent dir is not shown
$ ls --hyperlink -R dir
dir:
subdir

dir/subdir:

Without --hyperlink, the correct output is shown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions