mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-03 09:39:15 +02:00
Use two CLI binary names, show proper upload password help
This commit is contained in:
parent
1cc0d6345f
commit
e88198053f
3 changed files with 9 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
||||||
# Release 0.1
|
# Release 0.1
|
||||||
|
- Set MIME type of file when downloaded
|
||||||
- Remember all uploaded files, make files listable
|
- Remember all uploaded files, make files listable
|
||||||
- Incognito mode, to not remember files `--incognito`
|
- Incognito mode, to not remember files `--incognito`
|
||||||
- Automatically get owner token, from file history when setting password
|
- Automatically get owner token, from file history when setting password
|
||||||
|
|
|
@ -4,6 +4,10 @@ version = "0.1.0"
|
||||||
authors = ["timvisee <timvisee@gmail.com>"]
|
authors = ["timvisee <timvisee@gmail.com>"]
|
||||||
workspace = ".."
|
workspace = ".."
|
||||||
|
|
||||||
|
[[bin]]
|
||||||
|
path = "src/main.rs"
|
||||||
|
name = "ffsend"
|
||||||
|
|
||||||
[[bin]]
|
[[bin]]
|
||||||
path = "src/main.rs"
|
path = "src/main.rs"
|
||||||
name = "ffs"
|
name = "ffs"
|
||||||
|
|
|
@ -20,8 +20,10 @@ impl CmdUpload {
|
||||||
.help("The file to upload")
|
.help("The file to upload")
|
||||||
.required(true)
|
.required(true)
|
||||||
.multiple(false))
|
.multiple(false))
|
||||||
.arg(ArgPassword::build())
|
.arg(ArgPassword::build()
|
||||||
.arg(ArgDownloadLimit::build().default_value(DOWNLOAD_DEFAULT))
|
.help("Protect the file with a password"))
|
||||||
|
.arg(ArgDownloadLimit::build()
|
||||||
|
.default_value(DOWNLOAD_DEFAULT))
|
||||||
.arg(ArgHost::build())
|
.arg(ArgHost::build())
|
||||||
.arg(Arg::with_name("name")
|
.arg(Arg::with_name("name")
|
||||||
.long("name")
|
.long("name")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue