yellow-footed-honeyguide / facad

A modern, colorful ls alternative for bringing clarity to the filesystem ☀️
MIT License
344 stars 11 forks source link

Give an exact error message when the file is not found #9

Closed dmikushin closed 3 weeks ago

dmikushin commented 3 weeks ago

When the folder does not exist, facad's error reporting is mesleading:

►ls test
Error: Unexpected argument 'test'
Usage: ls [OPTION] [DIRECTORY]
Try 'ls --help' for more information.

It would be very useful to have a more exact error message about invalid file or directory:

►ls.coreutils test
ls.coreutils: cannot access 'test': No such file or directory
yellow-footed-honeyguide commented 3 weeks ago

Thank you, @dmikushin ! I fixed it.

scr_20241009_183750