summaryrefslogtreecommitdiff
path: root/docs/automation/command-scripting.rst
diff options
context:
space:
mode:
authorgoodNETnick <pknet@ya.ru>2022-07-23 03:52:16 -0400
committergoodNETnick <pknet@ya.ru>2022-07-23 03:52:16 -0400
commit8189e1c7b529dd4c0bdaea17eeb4e978e5f841fc (patch)
tree0c11cd5909020eb63accbdc9994c159eea75ee7c /docs/automation/command-scripting.rst
parented5a43bcc55749b3beed0c7bf3cf76d69ed1f0fb (diff)
parent0448c16d4a9bc80c6cd9e7d3a171ba0749acb6ce (diff)
downloadvyos-documentation-8189e1c7b529dd4c0bdaea17eeb4e978e5f841fc.tar.gz
vyos-documentation-8189e1c7b529dd4c0bdaea17eeb4e978e5f841fc.zip
Merge branch 'master' of https://github.com/goodNETnick/vyos-documentation
Diffstat (limited to 'docs/automation/command-scripting.rst')
-rw-r--r--docs/automation/command-scripting.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/automation/command-scripting.rst b/docs/automation/command-scripting.rst
index 7cf31232..db4724cd 100644
--- a/docs/automation/command-scripting.rst
+++ b/docs/automation/command-scripting.rst
@@ -83,10 +83,10 @@ Here is a simple example:
.. code-block:: python
- #!/usr/bin/env python
- print "delete firewall group address-group somehosts"
- print "set firewall group address-group somehosts address '192.0.2.3'"
- print "set firewall group address-group somehosts address '203.0.113.55'"
+ #!/usr/bin/env python3
+ print("delete firewall group address-group somehosts")
+ print("set firewall group address-group somehosts address '192.0.2.3'")
+ print("set firewall group address-group somehosts address '203.0.113.55'")
.. code-block:: none