summaryrefslogtreecommitdiff
path: root/doc/api/http2.md
diff options
context:
space:
mode:
authorMaledong <maledong_github@outlook.com>2019-09-01 11:07:24 +0800
committerRich Trott <rtrott@gmail.com>2019-09-03 14:21:34 -0700
commit3c84556654fb81d73a61b9d19bba3df6aac94e0e (patch)
tree5de605237404a21943a18c2bbb1726dd93a4ba4c /doc/api/http2.md
parent40060f4e42a9f2c79d14c704f4496320b18c0483 (diff)
downloadandroid-node-v8-3c84556654fb81d73a61b9d19bba3df6aac94e0e.tar.gz
android-node-v8-3c84556654fb81d73a61b9d19bba3df6aac94e0e.tar.bz2
android-node-v8-3c84556654fb81d73a61b9d19bba3df6aac94e0e.zip
doc: change the 'txt' to 'console' for a command
This is the document formation, because `node` is a command to be executed, we should reguard it as a command prompt instead of a command txt type. PR-URL: https://github.com/nodejs/node/pull/29389 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/http2.md')
-rw-r--r--doc/api/http2.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/http2.md b/doc/api/http2.md
index deceafd3ad..2046d903a4 100644
--- a/doc/api/http2.md
+++ b/doc/api/http2.md
@@ -2919,7 +2919,7 @@ To extract the parameters from the query string, the
`require('querystring').parse` function can be used, or
`true` can be passed as the second argument to `require('url').parse`.
-```txt
+```console
$ node
> require('url').parse('/status?name=ryan', true)
Url {