[Feature Request] Implement `-H` for ls compatability
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.2k
- Forks
- 510
- PR merge metrics
- No merged PRs in 30d
Description
- `lsd --version`: 1.2.0
When using `-l` there is no way to follow symlinks.
In classic `ls` this is done with the `-H` flag which does not exist in `lsd`.
## Expected behavior
```
$ ls -lH my_link
total 0
-rw-r--r-- 1 daniel users 0 Nov 28 15:33 bar
-rw-r--r-- 1 daniel users 0 Nov 28 15:33 baz
-rw-r--r-- 1 daniel users 0 Nov 28 15:33 foo
```
## Actual behavior
```
$ ls -lH my_link
error: unexpected argument '-H' found
tip: to pass '-H' as a value, use '-- -H'
Usage: lsd [OPTIONS] [FILE]...
For more information, try '--help'.
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported difference between `lsd -lH my_link` and classic `ls -lH my_link`, then trace lsd's option parsing and symlink handling. Done means `-H` is accepted with `-l` and a symlink argument displays the target directory contents as shown, while existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100