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
3 changes: 1 addition & 2 deletions src/cargo/util/command_prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@ pub trait CommandExt: Sized {
opt(
"vcs",
"Initialize a new repository for the given version \
control system (git, hg, pijul, or fossil) or do not \
initialize any version control at all (none), overriding \
control system, overriding \
a global configuration.",
)
.value_name("VCS")
Expand Down
7 changes: 3 additions & 4 deletions tests/testsuite/cargo_init/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ Arguments:
[path] [default: .]

Options:
--vcs <VCS> Initialize a new repository for the given version control system (git,
hg, pijul, or fossil) or do not initialize any version control at all
(none), overriding a global configuration. [possible values: git, hg,
pijul, fossil, none]
--vcs <VCS> Initialize a new repository for the given version control system,
overriding a global configuration. [possible values: git, hg, pijul,
fossil, none]
--bin Use a binary (application) template [default]
--lib Use a library template
--edition <YEAR> Edition to set for the crate generated [possible values: 2015, 2018,
Expand Down
7 changes: 3 additions & 4 deletions tests/testsuite/cargo_new/help/stdout.log
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ Arguments:
<path>

Options:
--vcs <VCS> Initialize a new repository for the given version control system (git,
hg, pijul, or fossil) or do not initialize any version control at all
(none), overriding a global configuration. [possible values: git, hg,
pijul, fossil, none]
--vcs <VCS> Initialize a new repository for the given version control system,
overriding a global configuration. [possible values: git, hg, pijul,
fossil, none]
--bin Use a binary (application) template [default]
--lib Use a library template
--edition <YEAR> Edition to set for the crate generated [possible values: 2015, 2018,
Expand Down