From 794b0a5b8be183691675762617fc4436e682d23d Mon Sep 17 00:00:00 2001 From: Sven-Hendrik Haase Date: Sat, 13 Jan 2024 07:19:30 +0100 Subject: Add CHANGELOG entry for #1308 --- CHANGELOG.md | 1 + 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) diff --git a/README.md b/README.md index 9494f91..fda2c4d 100644 --- a/README.md +++ b/README.md @@ -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 Default color scheme -- cgit v1.2.3