Skip to content

Commit 173b366

Browse files
committed
Updated HelpWriter to explain /overrideConfig usage.
1 parent d62d640 commit 173b366

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/GitVersionExe/ArgumentParser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ public static Arguments ParseArguments(List<string> commandLineArguments)
293293

294294
switch (configOverride[0])
295295
{
296-
case "tagPrefix":
296+
case "tag-prefix":
297297
if (1 < configOverride.Length)
298298
{
299299
arguments.OverrideConfig.TagPrefix = configOverride[1];

src/GitVersionExe/HelpWriter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ path The directory containing .git. If not defined current directory
2525
eg /output json /showvariable SemVer - will output `1.2.3+beta.4`
2626
/l Path to logfile.
2727
/showconfig Outputs the effective GitVersion config (defaults + custom from GitVersion.yaml) in yaml format
28+
/overrideConfig Overrides GitVersion config values inline (semicolon-separated key value pairs e.g. /overrideConfig:tag-prefix=Foo)
2829
2930
# AssemblyInfo updating
3031
/updateassemblyinfo

0 commit comments

Comments
 (0)