aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md1
-rw-r--r--README.md6
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 <COLOR_SCHEME>
Default color scheme