Skip to content

Commit 03961e6

Browse files
pniederlagarturcic
authored andcommitted
(doc) add a hint on using - vs. / for cli switches
improve user experience. thx for @asbjornu for guidance
1 parent 7a4e405 commit 03961e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/usage/command-line.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
If you want a command line version installed on your machine then you can use [Chocolatey](http://chocolatey.org) or [Homebrew](https://brew.sh/) to install GitVersion.
44

5+
> **Hint**: While documentation and help use '/' as command prefix the hyphen '-' is supported as well and is a better alternative for usage on \*nix systems. Example: *-output json vs. /output json*
6+
57
## Chocolatey
68

79
Available on [Chocolatey](http://chocolatey.org) under [GitVersion.Portable](http://chocolatey.org/packages/GitVersion.Portable).

0 commit comments

Comments
 (0)