Skip to content

Commit

Permalink
win_command - add stderr_lines documentation (#550)
Browse files Browse the repository at this point in the history
* win_command - add stderr_lines documentation

* Update plugins/modules/win_command.py

* Fix up stdout_lines example to remove py2 u prefix

---------

Co-authored-by: Jordan Borean <[email protected]>
  • Loading branch information
alexdelifer and jborean93 authored Sep 12, 2023
1 parent 5f8f04b commit 8190c42
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plugins/modules/win_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,10 @@
description: The command standard output split in lines
returned: always
type: list
sample: [u'Clustering node rabbit@slave1 with rabbit@main ...']
sample: ['Clustering node rabbit@slave1 with rabbit@main ...']
stderr_lines:
description: The command standard error split in lines
returned: always
type: list
sample: "['ls: cannot access foo: No such file or directory']"
'''

0 comments on commit 8190c42

Please sign in to comment.