Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #155 from darrenldl/dev
Browse files Browse the repository at this point in the history
multi-pass help message polish for decode and sort mode
  • Loading branch information
darrenldl committed Apr 6, 2019
2 parents 5128452 + 98d0345 commit 81abc3b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions src/cli_decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ provided and is not a directory, then it is used directly.",
))
.arg(force_arg().help("Force overwrite even if OUT exists"))
.arg(multi_pass_arg().help(
"Disable truncation of OUT, and skip writing if a good block
already exists at the location. This allows writing to OUT multiple
times to update it gradually. Ignored if output is stdout.",
"Disable truncation of OUT, and skip writing if a non-blank data
chunk already exists at the location. This allows writing to OUT
multiple times to update it gradually. Ignored if output is stdout.",
))
.arg(multi_pass_no_skip_arg().help(
"Disable truncation of OUT, write even if a good block exists at the
location. This allows writing to OUT multiple times to update it
gradually. Ignored if output is stdout.",
"Disable truncation of OUT, write even if a non-blank data chunk
exists at the location. This allows writing to OUT multiple times
to update it gradually. Ignored if output is stdout.",
))
.arg(no_meta_arg())
.arg(pr_verbosity_level_arg())
Expand Down
12 changes: 6 additions & 6 deletions src/cli_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,19 +61,19 @@ pub fn force_arg<'a, 'b>() -> Arg<'a, 'b> {

pub fn multi_pass_arg<'a, 'b>() -> Arg<'a, 'b> {
Arg::with_name("multi_pass").long("multi-pass").help(
"Disable truncation of OUT, and skip writing if a good block
already exists at the location. This allows writing to OUT multiple
times to update it gradually.",
"Disable truncation of OUT, and skip writing if a good block already
exists at the location. This allows writing to OUT multiple times
to update it gradually.",
)
}

pub fn multi_pass_no_skip_arg<'a, 'b>() -> Arg<'a, 'b> {
Arg::with_name("multi_pass_no_skip")
.long("multi-pass-no-skip")
.help(
"Disable truncation of OUT, write even if a good block exists at the
location. This allows writing to OUT multiple times to update it
gradually.",
"Disable truncation of OUT, write even if a good block exists at
the location. This allows writing to OUT multiple times to update
it gradually.",
)
}

Expand Down

0 comments on commit 81abc3b

Please sign in to comment.