Add --group-directories-first as an alias for --group-dirs=first

`ls` from coreutils has the `--group-directories-first` flag as the only
directory grouping option. This patch improves compatibility so that
users switching to `lsd` can continue using `--group-directories-first`.
This commit is contained in:
networkException
2022-01-25 18:19:38 +01:00
committed by Abin Simon
parent 1a63ccced0
commit e9ff6ca3e6
4 changed files with 24 additions and 0 deletions

View File

@@ -104,6 +104,9 @@ lsd is a ls command with a lot of pretty colours and some other stuff to enrich
`--group-dirs <group-dirs>...`
: Sort the directories then the files [default: none] [possible values: none, first, last]
`--group-directories-first`
: Groups the directories at the top before the files. Same as `--group-dirs=first`. Same as `--group-dirs=first`
`--icon <icon>...`
: When to print the icons [default: auto] [possible values: always, auto, never]