Skip to content

Commit b499d4b

Browse files
committed
updated misleading help option
1 parent 750674e commit b499d4b

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

docs/input/docs/usage/cli/arguments.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,10 @@ GitVersion [path]
6565
(.csproj/.vbproj/.fsproj) files in the git repo and update
6666
them
6767
Note: This is only compatible with the newer Sdk projects
68-
/updateassemblyinfofilename
69-
Specify name of AssemblyInfo file. Can also
70-
/updateAssemblyInfo GlobalAssemblyInfo.cs as a shorthand
7168
/ensureassemblyinfo
7269
If the assembly info file specified with
73-
/updateassemblyinfo or /updateassemblyinfofilename is not
74-
found, it be created with these attributes:
70+
/updateassemblyinfo is not
71+
found, it will be created with these attributes:
7572
AssemblyFileVersion, AssemblyVersion and
7673
AssemblyInformationalVersion.
7774
Supports writing version info for: C#, F#, VB

src/GitVersion.App.Tests/HelpWriterTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ public void AllArgsAreInHelp()
4141

4242
var ignored = new[]
4343
{
44-
nameof(Arguments.Authentication)
44+
nameof(Arguments.Authentication),
45+
nameof(Arguments.UpdateAssemblyInfoFileName)
4546
};
4647
typeof(Arguments).GetFields()
4748
.Select(p => p.Name)

0 commit comments

Comments
 (0)