1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00

Userland: ls: Add -d / --directory flag

This commit is contained in:
Brendan Coles 2020-11-10 17:42:41 +00:00 committed by Andreas Kling
parent 9b79ea78d3
commit 28abfd6290
2 changed files with 38 additions and 27 deletions

View file

@ -19,7 +19,8 @@ If no *path* argument is provided the current working directory is used.
* `--help`: Display this message
* `-a`, `--all`: Show dotfiles
* `-A`: Do not list implied . and .. directories
* `-B`, --ignore-backups`: Do not list implied entries ending with ~
* `-B`, `--ignore-backups`: Do not list implied entries ending with ~
* `-d`, `--directory`: List directories themselves, not their contents
* `-l`, `--long`: Display long info
* `-t`: Sort files by timestamp
* `-r`, `--reverse`: Reverse sort order