Skip to content

Commit fe059ca

Browse files
committed
doc: /diag now requires a /l argument to select output stream
1 parent 24cf318 commit fe059ca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)