File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
docs/input/docs/usage/cli Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ GitVersion [path]
2424 path The directory containing .git. If not defined current
2525 directory is used. (Must be first argument)
2626 /version Displays the version of GitVersion
27- /diag Runs GitVersion with additional diagnostic information
27+ /diag Runs GitVersion with additional diagnostic information;
28+ also needs the ' /l' argument to specify a logfile or stdout
2829 (requires git.exe to be installed)
2930 /h or /? Shows Help
3031
@@ -41,7 +42,7 @@ GitVersion [path]
4142 Supports C# format strings - see [Format Strings](/docs/reference/custom-formatting) for details.
4243 E.g. /output json /format {SemVer} - will output ` 1.2.3+beta.4`
4344 /output json /format {Major}.{Minor} - will output ` 1.2`
44- /l Path to logfile.
45+ /l Path to logfile; specify ' console ' to emit to stdout .
4546 /config Path to config file (defaults to GitVersion.yml, GitVersion.yaml, .GitVersion.yml or .GitVersion.yaml)
4647 /showconfig Outputs the effective GitVersion config (defaults + custom
4748 from GitVersion.yml, GitVersion.yaml, .GitVersion.yml or .GitVersion.yaml) in yaml format
You can’t perform that action at this time.
0 commit comments