Use two CLI binary names, show proper upload password help

This commit is contained in:
timvisee 2018-04-18 00:40:40 +02:00
parent 1cc0d6345f
commit e88198053f
No known key found for this signature in database
GPG key ID: 109CBA0BF74036C2
3 changed files with 9 additions and 2 deletions

View file

@ -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

View file

@ -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"

View file

@ -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")