Auto merge of #24160 - XiangQingW:pull_request, r=jdm

Remove the nonexistent optional params in the document

Change-Id: I08af254388196926de911f146dbee282b887cf9b

<!-- Please describe your changes on the following line: -->
Remove the nonexistent optional params in the document.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because only the document is changed

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24160)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-09-08 21:58:52 -04:00 committed by GitHub
commit 2f0dbc57a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,7 +148,7 @@ Before starting the debugger right away, you might want to get some information
A typical command might be:
``` shell
./mach run -d -- -i -y 1 -t 1 --debug dump-layer-tree /tmp/a.html
./mach run -d -- -i -y 1 --debug dump-layer-tree /tmp/a.html
```
… to avoid using too many threads and make things easier to understand.
@ -168,7 +168,7 @@ RUST_LOG="debug" ./mach run -d -- /tmp/a.html
Using `RUST_LOG="debug"` is usually the very first thing you might want to do if you have no idea what to look for. Because this is very verbose, you can combine these with `ts` (`moreutils` package (apt-get, brew)) to add timestamps and `tee` to save the logs (while keeping them in the console):
```
RUST_LOG="debug" ./mach run -d -- -i -y 1 -t 1 /tmp/a.html 2>&1 | ts -s "%.S: " | tee /tmp/log.txt
RUST_LOG="debug" ./mach run -d -- -i -y 1 /tmp/a.html 2>&1 | ts -s "%.S: " | tee /tmp/log.txt
```
You can filter by crate or module, for example `RUST_LOG="layout::inline=debug" ./mach run …`. Check the [env_logger](https://doc.rust-lang.org/log/env_logger/index.html) documentation for more details.
@ -190,7 +190,7 @@ usually just works. If it doesn't, maybe some of foobar's properties don't imple
To run the debugger:
``` shell
./mach run -d --debug -- -y 1 -t 1 /tmp/a.html
./mach run -d --debug -- -y 1 /tmp/a.html
```
This will start `lldb` on Mac, and `gdb` on Linux.