Remove leading dash (-) from options in archive.tar documentation

This commit is contained in:
Cory Wright 2017-10-30 10:07:23 -06:00
parent bebc33daf5
commit 9c1c35a59f
No known key found for this signature in database
GPG key ID: BC5E55AFBBFF0A77

View file

@ -451,14 +451,14 @@ def tar(options, tarfile, sources=None, dest=None,
.. code-block:: bash
salt '*' archive.tar -cjvf /tmp/salt.tar.bz2 {{grains.saltpath}} template=jinja
salt '*' archive.tar cjvf /tmp/salt.tar.bz2 {{grains.saltpath}} template=jinja
CLI Examples:
.. code-block:: bash
# Create a tarfile
salt '*' archive.tar -cjvf /tmp/tarfile.tar.bz2 /tmp/file_1,/tmp/file_2
salt '*' archive.tar cjvf /tmp/tarfile.tar.bz2 /tmp/file_1,/tmp/file_2
# Unpack a tarfile
salt '*' archive.tar xf foo.tar dest=/target/directory
'''