serhiy-bzhezytskyy commented on PR #4923:
URL: https://github.com/apache/solr/pull/4923#issuecomment-5932880578

   Correction to the description of this PR: the leading `$` is not the 
problem. 101 of the 154 `bin/solr` examples in the guide start with `$ ` and 
the copy button drops it for `console` blocks, so I'm withdrawing that change. 
What is wrong here is that `[,console]` is followed directly by the command 
with no `----` delimiters, so the built page shows a plain paragraph with an 
auto-linked URL instead of a code block. It is the only one of the 141 
`[,console]` blocks in the guide without them. `-t` is the short name of 
`bin/solr post --type` (there is no `--content-type`), and it is what both 
examples that set a content type use, so it differs from curl's `-H` only 
because it is another tool. As you suggested, I'm closing this one; the 
delimiter fix is in #4925 now (ecb4dce), which did not touch this page before.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to