diff options
author | Sven-Hendrik Haase <svenstaro@gmail.com> | 2024-01-13 06:19:30 +0000 |
---|---|---|
committer | Sven-Hendrik Haase <svenstaro@gmail.com> | 2024-01-13 06:19:30 +0000 |
commit | 794b0a5b8be183691675762617fc4436e682d23d (patch) | |
tree | b44625a9cc01c0786e5026974fc0bd4d90daeae4 | |
parent | Make default sorting test more meaningful (diff) | |
download | miniserve-794b0a5b8be183691675762617fc4436e682d23d.tar.gz miniserve-794b0a5b8be183691675762617fc4436e682d23d.zip |
Add CHANGELOG entry for #1308
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | README.md | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e25460..6f36ba7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - ReleaseDate - Properly handle read-only errors on Windows [#1310](https://github.com/svenstaro/miniserve/pull/1310) (thanks @ViRb3) - Use `tokio::fs` instead of `std::fs` to enable async file operations [#445](https://github.com/svenstaro/miniserve/issues/445) +- Add `-S`/`--default-sorting-method` and `-O`/`--default-sorting-order` flags [#1308](https://github.com/svenstaro/miniserve/pull/1308) (thanks @ElliottLandsborough) ## [0.25.0] - 2024-01-07 - Add `--pretty-urls` [#1193](https://github.com/svenstaro/miniserve/pull/1193) (thanks @nlopes) @@ -214,6 +214,7 @@ Options: Default sorting method for file list [env: MINISERVE_DEFAULT_SORTING_METHOD=] + [default: name] Possible values: - name: Sort by name @@ -224,10 +225,11 @@ Options: Default sorting order for file list [env: MINISERVE_DEFAULT_SORTING_ORDER=] + [default: desc] Possible values: - - ascending: Ascending order - - descending: Descending order + - asc: Ascending order + - desc: Descending order -c, --color-scheme <COLOR_SCHEME> Default color scheme |