Remove some redundant CLI command and argument aliases
This commit is contained in:
parent
358bc6816a
commit
db1087c9e9
8 changed files with 0 additions and 17 deletions
|
@ -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
|
||||
|
|
|
@ -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")
|
||||
}
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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())
|
||||
}
|
||||
|
|
|
@ -8,8 +8,6 @@ impl CmdHistory {
|
|||
SubCommand::with_name("history")
|
||||
.about("View file history")
|
||||
.visible_alias("h")
|
||||
.alias("his")
|
||||
.alias("list")
|
||||
.alias("ls")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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())
|
||||
|
|
Loading…
Add table
Reference in a new issue