Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/bin/cargo/commands/add.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Example uses:
])
.arg_quiet()
.arg_dry_run("Don't actually write the manifest")
.next_help_heading("SOURCE")
.next_help_heading("Source")
.args([
clap::Arg::new("path")
.long("path")
Expand Down Expand Up @@ -131,7 +131,7 @@ This is the catch all, handling hashes to named references in remote repositorie
.value_name("NAME")
.help("Package registry for this dependency"),
])
.next_help_heading("SECTION")
.next_help_heading("Section")
.args([
flag("dev",
"Add as development dependency")
Expand Down
2 changes: 1 addition & 1 deletion src/bin/cargo/commands/remove.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn cli() -> clap::Command {
.arg_manifest_path()
.arg_quiet()
.arg_dry_run("Don't actually write the manifest")
.next_help_heading("SECTION")
.next_help_heading("Section")
.args([
clap::Arg::new("dev")
.long("dev")
Expand Down