Skip to content

Commit

Permalink
Auto merge of #5774 - dwijnand:generate-lockfile-stutter, r=alexcrichton
Browse files Browse the repository at this point in the history
Drop after_help in generate-lockfile

From reviewing the history this looks like a copy-paste error while
porting to clap (#5152): this is
fetch's after_help info

Fixes #5692
  • Loading branch information
bors committed Jul 23, 2018
2 parents c744090 + 7ef6976 commit 773e3b6
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/bin/cargo/commands/generate_lockfile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,6 @@ pub fn cli() -> App {
subcommand("generate-lockfile")
.about("Generate the lockfile for a project")
.arg_manifest_path()
.after_help(
"\
If a lockfile is available, this command will ensure that all of the git
dependencies and/or registries dependencies are downloaded and locally
available. The network is never touched after a `cargo fetch` unless
the lockfile changes.
If the lockfile is not available, then this is the equivalent of
`cargo generate-lockfile`. A lockfile is generated and dependencies are also
all updated.
",
)
}

pub fn exec(config: &mut Config, args: &ArgMatches) -> CliResult {
Expand Down

0 comments on commit 773e3b6

Please sign in to comment.