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
|
||||
- Set MIME type of file when downloaded
|
||||
- Remember all uploaded files, make files listable
|
||||
- Incognito mode, to not remember files `--incognito`
|
||||
- Automatically get owner token, from file history when setting password
|
||||
|
|
|
@ -4,6 +4,10 @@ version = "0.1.0"
|
|||
authors = ["timvisee <timvisee@gmail.com>"]
|
||||
workspace = ".."
|
||||
|
||||
[[bin]]
|
||||
path = "src/main.rs"
|
||||
name = "ffsend"
|
||||
|
||||
[[bin]]
|
||||
path = "src/main.rs"
|
||||
name = "ffs"
|
||||
|
|
|
@ -20,8 +20,10 @@ impl CmdUpload {
|
|||
.help("The file to upload")
|
||||
.required(true)
|
||||
.multiple(false))
|
||||
.arg(ArgPassword::build())
|
||||
.arg(ArgDownloadLimit::build().default_value(DOWNLOAD_DEFAULT))
|
||||
.arg(ArgPassword::build()
|
||||
.help("Protect the file with a password"))
|
||||
.arg(ArgDownloadLimit::build()
|
||||
.default_value(DOWNLOAD_DEFAULT))
|
||||
.arg(ArgHost::build())
|
||||
.arg(Arg::with_name("name")
|
||||
.long("name")
|
||||
|
|
Loading…
Reference in a new issue