Skip to content

Commit

Permalink
Extend parts on heredoc in vcl.inline.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lasse Karstensen committed Apr 14, 2016
1 parent 90afdda commit b318692
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions doc/sphinx/reference/varnish-cli.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,18 @@ Syntax
------

Commands are usually terminated with a newline. Long command can be
entered using sh style *here documents*. The format of here-documents
is::
entered using sh style *here documents* (colloquially heredocs).
The format of here-documents is::

<< word
here document
word

.. :ref:`heredoc`
*word* can be any continuous string chosen to make sure it doesn't
appear naturally in the following *here document*.
appear naturally in the following *here document*. Commonly "EOF"
is used.

When using the here document style of input there are no restrictions
on length. When using newline-terminated commands maximum length is
Expand Down Expand Up @@ -105,7 +108,7 @@ vcl.load <configname> <filename> [auto|cold|warm]
Compile and load the VCL file under the name provided.

vcl.inline <configname> <quoted_VCLstring> [auto|cold|warm]
Compile and load the VCL data under the name provided.
Compile and load the VCL data under the name provided. Multi-line VCL can be input using :ref:`heredoc`.

vcl.use <configname>
Switch to the named configuration immediately.
Expand Down

0 comments on commit b318692

Please sign in to comment.