diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-09-08 21:58:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-08 21:58:52 -0400 |
commit | 2f0dbc57a6614b586559168f3c3f70b598a7c03e (patch) | |
tree | c51cec86765ee92c0f2cab507073502471851650 | |
parent | a38f28f8112e87776857481f7f8308a85d0125ce (diff) | |
parent | b0455eb88ba27dbb24fb2f176dc03b67194bf989 (diff) | |
download | servo-2f0dbc57a6614b586559168f3c3f70b598a7c03e.tar.gz servo-2f0dbc57a6614b586559168f3c3f70b598a7c03e.zip |
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 -->
-rw-r--r-- | docs/HACKING_QUICKSTART.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/HACKING_QUICKSTART.md b/docs/HACKING_QUICKSTART.md index d3f4633aec9..851c11a8258 100644 --- a/docs/HACKING_QUICKSTART.md +++ b/docs/HACKING_QUICKSTART.md @@ -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. |