docs: improve readme
This commit is contained in:
parent
76569581dd
commit
cdb7b5fc87
2 changed files with 7 additions and 2 deletions
|
@ -36,12 +36,17 @@ You can run this command to start serving your current working directory on 127.
|
|||
duf
|
||||
```
|
||||
|
||||
...or specify which folder you want to serve:
|
||||
...or specify which folder you want to serve.
|
||||
|
||||
```
|
||||
duf folder_name
|
||||
```
|
||||
|
||||
Only serve static files, disable upload and delete operations
|
||||
```
|
||||
duf --static
|
||||
```
|
||||
|
||||
Finally, run this command to see a list of all available option
|
||||
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ fn app() -> clap::Command<'static> {
|
|||
|
||||
let arg_static = Arg::new("static")
|
||||
.long("static")
|
||||
.help("Only serve static files, not allowed to upload or delete file");
|
||||
.help("Only serve static files, disable upload and delete operations");
|
||||
|
||||
let arg_auth = Arg::new("auth")
|
||||
.short('a')
|
||||
|
|
Loading…
Reference in a new issue