]> OzVa Git service - ozva-cloud/commitdiff
chore: update readme
authorsigoden <sigoden@gmail.com>
Fri, 17 Jun 2022 02:59:19 +0000 (10:59 +0800)
committersigoden <sigoden@gmail.com>
Fri, 17 Jun 2022 02:59:19 +0000 (10:59 +0800)
README.md

index 23362dc6502c2c5431dc83da56d9b216b9107eb6..9fd702b8014af89e4c0189e63f466150bfacb43d 100644 (file)
--- a/README.md
+++ b/README.md
@@ -70,31 +70,31 @@ OPTIONS:
 
 ## Examples
 
-You can run this command to start serving your current working directory on 127.0.0.1:5000 by default.
+Serve current working directory, no upload/delete
 
 ```
 duf
 ```
 
-...or specify which folder you want to serve.
+Allow upload/delete
 
 ```
-duf folder_name
+duf -A
 ```
 
-Allow all operations such as upload, delete
+Listen on a specific port
 
-```sh
-duf --allow-all
+```
+duf -p 80
 ```
 
-Only allow upload operation
+Protect with authentication
 
 ```
-duf --allow-upload
+duf -a admin:admin
 ```
 
-Serve a single page application (SPA)
+For a single page application (SPA)
 
 ```
 duf --render-spa