From 9ea988a79a26b497535a9308899e383840a6e60e Mon Sep 17 00:00:00 2001 From: rallytime Date: Tue, 4 Nov 2014 06:37:14 -0700 Subject: [PATCH] Add CLI example to xfs.prune_dump function --- salt/modules/xfs.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/salt/modules/xfs.py b/salt/modules/xfs.py index a27efa52b5..abd1e8c349 100644 --- a/salt/modules/xfs.py +++ b/salt/modules/xfs.py @@ -289,6 +289,13 @@ def _xfs_prune_output(out, uuid): def prune_dump(sessionid): ''' Prunes the dump session identified by the given session id. + + CLI Example: + + .. code-block:: bash + + salt '*' xfs.prune_dump b74a3586-e52e-4a4a-8775-c3334fa8ea2c + ''' out = __salt__['cmd.run_all']("xfsinvutil -s {0} -F".format(sessionid)) _verify_run(out)