Skip to content

Commit

Permalink
Remove CLI help dots, update .gitignore, remove .rs file
Browse files Browse the repository at this point in the history
  • Loading branch information
timvisee committed Apr 18, 2018
1 parent e881980 commit 69797a3
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 107 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.*.sw[po]
/target
target/
**/*.rs.bk
.idea/
99 changes: 0 additions & 99 deletions cli/src/cmd/cmd/.rs

This file was deleted.

2 changes: 1 addition & 1 deletion cli/src/cmd/cmd/delete.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub struct CmdDelete;
impl CmdDelete {
pub fn build<'a, 'b>() -> App<'a, 'b> {
SubCommand::with_name("delete")
.about("Delete a shared file.")
.about("Delete a shared file")
.visible_alias("del")
.alias("r")
.alias("rem")
Expand Down
2 changes: 1 addition & 1 deletion cli/src/cmd/cmd/download.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub struct CmdDownload;
impl CmdDownload {
pub fn build<'a, 'b>() -> App<'a, 'b> {
SubCommand::with_name("download")
.about("Download files.")
.about("Download files")
.visible_alias("d")
.visible_alias("down")
.arg(ArgUrl::build())
Expand Down
2 changes: 1 addition & 1 deletion cli/src/cmd/cmd/exists.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub struct CmdExists;
impl CmdExists {
pub fn build<'a, 'b>() -> App<'a, 'b> {
SubCommand::with_name("exists")
.about("Check whether a remote file exists.")
.about("Check whether a remote file exists")
.visible_alias("e")
.alias("exist")
.arg(ArgUrl::build())
Expand Down
2 changes: 1 addition & 1 deletion cli/src/cmd/cmd/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub struct CmdInfo;
impl CmdInfo {
pub fn build<'a, 'b>() -> App<'a, 'b> {
SubCommand::with_name("info")
.about("Fetch info about a shared file.")
.about("Fetch info about a shared file")
.visible_alias("i")
.alias("information")
.arg(ArgUrl::build())
Expand Down
2 changes: 1 addition & 1 deletion cli/src/cmd/cmd/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ impl CmdParams {
];

SubCommand::with_name("parameters")
.about("Change parameters of a shared file.")
.about("Change parameters of a shared file")
.visible_alias("params")
.alias("par")
.alias("param")
Expand Down
2 changes: 1 addition & 1 deletion cli/src/cmd/cmd/password.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pub struct CmdPassword;
impl CmdPassword {
pub fn build<'a, 'b>() -> App<'a, 'b> {
SubCommand::with_name("password")
.about("Change the password of a shared file.")
.about("Change the password of a shared file")
.visible_alias("pass")
.visible_alias("p")
.arg(ArgUrl::build())
Expand Down
2 changes: 1 addition & 1 deletion cli/src/cmd/cmd/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ impl CmdUpload {
// Build the subcommand
#[allow(unused_mut)]
let mut cmd = SubCommand::with_name("upload")
.about("Upload files.")
.about("Upload files")
.visible_alias("u")
.visible_alias("up")
.arg(Arg::with_name("FILE")
Expand Down

0 comments on commit 69797a3

Please sign in to comment.