Skip to content

Commit 8fd38e3

Browse files
authored
Merge pull request #1740 from rust-lang/docs-fix-sync-instructions
docs: fix sync instructions
2 parents 23be760 + 7d3ba45 commit 8fd38e3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,16 +154,16 @@ service names you want to sync. For example, to synchronize only GitHub and
154154
Mailgun you can run:
155155

156156
```
157-
cargo run sync -- --services github,mailgun
158-
cargo run sync -- --services github,mailgun apply
157+
cargo run -- sync --services github,mailgun
158+
cargo run -- sync --services github,mailgun apply
159159
```
160160

161161
By default, the synchronization will be based on data from the live `team` endpoint.
162162
When making changes to the tool it might be useful to test
163163
with dummy data though. You can do that by passing the `--team-repo` flag to the CLI:
164164

165165
```
166-
cargo run sync -- --team-json <directory>
166+
cargo run -- sync --team-json <directory>
167167
```
168168

169169
The `<directory>` with JSON data can be generated using `cargo run static-api`.

0 commit comments

Comments
 (0)