Skip to content

Commit 284ba13

Browse files
committed
docs: update readme
1 parent cf45429 commit 284ba13

File tree

1 file changed

+38
-11
lines changed

1 file changed

+38
-11
lines changed

README.md

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,15 @@ Usage: List changesets
5959
$ unity-changeset list [options]
6060
6161
Options:
62-
--min <version> Minimum version (included)
63-
--max <version> Maximum version (included)
64-
--grep <version> Grep version
65-
--json Output in json format
66-
--all List all changesets (alpha/beta included)
67-
--beta List alpha/beta changesets
68-
--versions Output only the available unity version
62+
--min <version> Minimum version (included)
63+
--max <version> Maximum version (included)
64+
--grep <version> Grep version
65+
--json Output in json format
66+
--pretty-json Output in pretty json format
67+
--all List all changesets (alpha/beta included)
68+
--beta List alpha/beta changesets
69+
--versions Output only the available Unity versions
70+
--minor-versions Output only the available Unity minor versions
6971
```
7072

7173
```sh
@@ -83,6 +85,24 @@ $ unity-changeset list
8385
2020.1.12f1 55b56f0a86e3
8486
...
8587

88+
# List changesets in json format
89+
$ unity-changeset list --json
90+
[{"version":"2020.1.15f1","changeset":"97d0ae02d19d"},{"version":"2020.1.14f1","changeset":"d81f64f5201d"},...]
91+
92+
# List changesets in pretty json format
93+
$ unity-changeset list --pretty-json
94+
[
95+
{
96+
"version": "2020.1.15f1",
97+
"changeset": "97d0ae02d19d"
98+
},
99+
{
100+
"version": "2020.1.14f1",
101+
"changeset": "d81f64f5201d"
102+
},
103+
...
104+
]
105+
86106
# List changesets (beta)
87107
$ unity-changeset list --beta
88108
2020.2.0b13 655e1a328b90
@@ -97,21 +117,28 @@ $ unity-changeset list --versions
97117
2020.1.12f1
98118
...
99119

100-
# List Unity 2018.3 or later
101-
$ unity-changeset list --min 2018.3
102-
2020.1.14f1 97d0ae02d19d
120+
# List Unity 2018.3 or later, and 2019.1 or earlier
121+
$ unity-changeset list --min 2018.3 --max 2019.1
122+
2019.1.14f1 148b5891095a
103123
...
104124
2018.3.1f1 bb579dc42f1d
105125
2018.3.0f2 6e9a27477296
106126

107-
# List Unity 2018.3.x
127+
# List all Unity 2018.3 versions
108128
$ unity-changeset list --grep 2018.3
109129
2018.3.14f1 d0e9f15437b1
110130
2018.3.13f1 06548a9e9582
111131
...
112132
2018.3.1f1 bb579dc42f1d
113133
2018.3.0f2 6e9a27477296
114134

135+
# List the available Unity minor versions
136+
$ unity-changeset list --minor-versions
137+
2020.1
138+
...
139+
2017.2
140+
2017.1
141+
115142
# For more info, run with the `-h, --help` flag:
116143
$ unity-version -h
117144
```

0 commit comments

Comments
 (0)