Skip to content

Commit 8abb87b

Browse files
joshuay03hsbt
authored andcommitted
[rubygems/rubygems] Remove duplicate documentation for --changelog flag
ruby/rubygems@9f1d07685f
1 parent 3fdaa6a commit 8abb87b

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

lib/bundler/man/bundle-gem.1

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Add a \fBCODE_OF_CONDUCT\.md\fR file to the root of the generated project\. If t
3333
Do not create a \fBCODE_OF_CONDUCT\.md\fR (overrides \fB\-\-coc\fR specified in the global config)\.
3434
.TP
3535
\fB\-\-changelog\fR
36-
Add a \fBCHANGELOG\.md\fR file to the root of the generated project\. If this option is unspecified, an interactive prompt will be displayed and the answer will be saved in Bundler's global config for future \fBbundle gem\fR use\.
36+
Add a \fBCHANGELOG\.md\fR file to the root of the generated project\. If this option is unspecified, an interactive prompt will be displayed and the answer will be saved in Bundler's global config for future \fBbundle gem\fR use\. Update the default with \fBbundle config set \-\-global gem\.changelog <true|false>\fR\.
3737
.TP
3838
\fB\-\-no\-changelog\fR
3939
Do not create a \fBCHANGELOG\.md\fR (overrides \fB\-\-changelog\fR specified in the global config)\.
@@ -68,9 +68,6 @@ When Bundler is unconfigured, an interactive prompt will be displayed and the an
6868
\fB\-\-no\-test\fR
6969
Do not use a test framework (overrides \fB\-\-test\fR specified in the global config)\.
7070
.TP
71-
\fB\-\-changelog\fR
72-
Generate changelog file\. Set a default with \fBbundle config set \-\-global gem\.changelog true\fR\.
73-
.TP
7471
\fB\-\-ci\fR, \fB\-\-ci=circle\fR, \fB\-\-ci=github\fR, \fB\-\-ci=gitlab\fR
7572
Specify the continuous integration service that Bundler should use when generating the project\. Acceptable values are \fBgithub\fR, \fBgitlab\fR and \fBcircle\fR\. A configuration file will be generated in the project directory\. Given no option is specified:
7673
.IP

lib/bundler/man/bundle-gem.1.ronn

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ configuration file using the following names:
4545
Add a `CHANGELOG.md` file to the root of the generated project. If
4646
this option is unspecified, an interactive prompt will be displayed and the
4747
answer will be saved in Bundler's global config for future `bundle gem` use.
48+
Update the default with `bundle config set --global gem.changelog <true|false>`.
4849

4950
* `--no-changelog`:
5051
Do not create a `CHANGELOG.md` (overrides `--changelog` specified in the
@@ -95,9 +96,6 @@ configuration file using the following names:
9596
Do not use a test framework (overrides `--test` specified in the global
9697
config).
9798

98-
* `--changelog`:
99-
Generate changelog file. Set a default with `bundle config set --global gem.changelog true`.
100-
10199
* `--ci`, `--ci=circle`, `--ci=github`, `--ci=gitlab`:
102100
Specify the continuous integration service that Bundler should use when
103101
generating the project. Acceptable values are `github`, `gitlab`

0 commit comments

Comments
 (0)