Remove some redundant CLI command and argument aliases

This commit is contained in:
timvisee 2018-05-17 14:42:55 +02:00
parent 358bc6816a
commit db1087c9e9
No known key found for this signature in database
GPG key ID: 109CBA0BF74036C2
8 changed files with 0 additions and 17 deletions

View file

@ -3,8 +3,6 @@ The first release used for gathering feedback on the application by selected
people.
Features:
- Use flag for archival functionality
- Remove unnecessary command argument aliases
- A `defaults` command to list defaults such as the host URL and history file
- Make use of stdout and stderr consistent
- Allow file/directory archiving on upload

View file

@ -22,11 +22,6 @@ impl CmdArg for ArgDownloadLimit {
.short("d")
.alias("downloads")
.alias("download")
.alias("down")
.alias("dlimit")
.alias("limit")
.alias("lim")
.alias("l")
.value_name("COUNT")
.help("The file download limit")
}

View file

@ -19,7 +19,6 @@ impl CmdArg for ArgHost {
Arg::with_name("host")
.long("host")
.short("h")
.alias("server")
.value_name("URL")
.default_value(SEND_DEFAULT_HOST)
.help("The remote host to upload to")

View file

@ -16,9 +16,7 @@ impl CmdArg for ArgOwner {
Arg::with_name("owner")
.long("owner")
.short("o")
.alias("own")
.alias("owner-token")
.alias("token")
.value_name("TOKEN")
.min_values(0)
.max_values(1)

View file

@ -16,7 +16,6 @@ impl CmdArg for ArgPassword {
Arg::with_name("password")
.long("password")
.short("p")
.alias("pass")
.value_name("PASSWORD")
.min_values(0)
.max_values(1)

View file

@ -10,9 +10,6 @@ impl CmdDelete {
SubCommand::with_name("delete")
.about("Delete a shared file")
.visible_alias("del")
.alias("r")
.alias("rem")
.alias("remove")
.arg(ArgUrl::build())
.arg(ArgOwner::build())
}

View file

@ -8,8 +8,6 @@ impl CmdHistory {
SubCommand::with_name("history")
.about("View file history")
.visible_alias("h")
.alias("his")
.alias("list")
.alias("ls")
}
}

View file

@ -15,7 +15,6 @@ impl CmdParams {
SubCommand::with_name("parameters")
.about("Change parameters of a shared file")
.visible_alias("params")
.alias("par")
.alias("param")
.alias("parameter")
.arg(ArgUrl::build())