diff options
author | Trevor Norris <trev.norris@gmail.com> | 2014-09-29 16:32:34 -0700 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2014-09-29 16:32:34 -0700 |
commit | f2a78de6ec134f4050531ba6a52dee47e0aee165 (patch) | |
tree | 7fa7669e8e451f1ec3ec8ca2a83b933af469bd4e /doc/api/url.markdown | |
parent | 734fb49a2af580f2d9c97a0bdd82ad3e6a1f64a2 (diff) | |
download | node-new-f2a78de6ec134f4050531ba6a52dee47e0aee165.tar.gz |
doc: fix optional parameter parsing
The parameter parser specifically looked for the old bracket syntax.
This generated a lot of warnings when building the docs. Those warnings
have been fixed by changing the parsing logic.
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'doc/api/url.markdown')
-rw-r--r-- | doc/api/url.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/url.markdown b/doc/api/url.markdown index fc92bb7e8e..e6a43f72bc 100644 --- a/doc/api/url.markdown +++ b/doc/api/url.markdown @@ -65,7 +65,7 @@ string will not be in the parsed object. Examples are shown for the URL The following methods are provided by the URL module: -## url.parse(urlStr[, parseQueryString]\[, slashesDenoteHost]) +## url.parse(urlStr[, parseQueryString][, slashesDenoteHost]) Take a URL string, and return an object. |