aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorboasting-squirrel <boasting.squirrel@gmail.com>2019-02-04 19:28:06 +0000
committerboasting-squirrel <boasting.squirrel@gmail.com>2019-02-04 19:28:06 +0000
commit4585d5456c8ad088b96ca51039b4e8274f7ccf38 (patch)
treed27a93cd52f91136891c3cd6fcc3d98e047c11a8 /README.md
parentSome linting fixes (diff)
downloadminiserve-4585d5456c8ad088b96ca51039b4e8274f7ccf38.tar.gz
miniserve-4585d5456c8ad088b96ca51039b4e8274f7ccf38.zip
Implemented sorting
Diffstat (limited to '')
-rw-r--r--README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/README.md b/README.md
index cabf6ac..4176e51 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,25 @@ Sometimes this is just a more practical and quick way than doing things properly
miniserve -i 192.168.0.1 -i 10.13.37.10 -i ::1 -- /tmp/myshare
+### Sort files for easier navigation
+ miniserve --sort=natural /tmp/myshare # (default behaviour)
+ # 1/
+ # 2/
+ # 3
+ # 11
+
+ miniserve --sort=alpha /tmp/myshare
+ # 1/
+ # 11
+ # 2/
+ # 3
+
+ miniserve --sort=dirsfirst /tmp/myshare
+ # 1/
+ # 2/
+ # 11
+ # 3
+
## Features
- Easy to use