1
0
Fork 0
mirror of https://github.com/containers/ansible-podman-collections.git synced 2026-02-04 07:11:49 +00:00

doc: _podman() cmd value can be a list (#79)

Commit cc8d4bb451 changed _podman() to
accept a string or a list for the "cmd" parameter. Update the docstring
for this parameter to reflect this.
This commit is contained in:
Ken Dreyer 2020-07-09 10:45:33 -06:00 committed by GitHub
parent 3ba6416ffc
commit 8bfe7402f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,7 +95,7 @@ class Connection(ConnectionBase):
"""
run podman executable
:param cmd: podman's command to execute (str)
:param cmd: podman's command to execute (str or list)
:param cmd_args: list of arguments to pass to the command (list of str/bytes)
:param in_data: data passed to podman's stdin
:return: return code, stdout, stderr