1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

ls: Add the -p option to append a trailing slash to directories

This overrides the `-F` option and vice-versa.
This commit is contained in:
Tim Ledbetter 2023-09-25 22:37:30 +01:00 committed by Andreas Kling
parent 6820e0e175
commit ba40526db2
2 changed files with 16 additions and 5 deletions

View file

@ -21,6 +21,7 @@ If no *path* argument is provided the current working directory is used.
* `-A`: Do not list implied . and .. directories
* `-B`, `--ignore-backups`: Do not list implied entries ending with ~
* `-F`, `--classify`: Append a file type indicator to entries
* `-p`: Append a '/' indicator to directories
* `-d`, `--directory`: List directories themselves, not their contents
* `-l`, `--long`: Display long info
* `-t`: Sort files by timestamp (newest first)