Fix docs code block errors

This commit is contained in:
Darko Poljak 2021-07-10 21:02:27 +02:00
parent 77dab4c5c6
commit 65c43d3c1d
2 changed files with 3 additions and 0 deletions

View file

@ -38,6 +38,7 @@ cert-path
EXAMPLES EXAMPLES
-------- --------
.. code-block:: sh .. code-block:: sh
__snakeoil_cert localhost-rsa \ __snakeoil_cert localhost-rsa \
--common-name localhost \ --common-name localhost \
--key-type rsa:4096 --key-type rsa:4096

View file

@ -57,6 +57,7 @@ resolved name to stdout - if any. The script must be executable.
Simplest script: Simplest script:
.. code-block:: sh .. code-block:: sh
#!/bin/sh #!/bin/sh
case "$1" in case "$1" in
@ -71,6 +72,7 @@ Simplest script:
Resolving name from `PTR` DNS record: Resolving name from `PTR` DNS record:
.. code-block:: sh .. code-block:: sh
#!/bin/sh #!/bin/sh
for cmd in dig sed; do for cmd in dig sed; do