summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-10-25 15:55:32 -0400
committerMichael DeHaan <mdehaan@redhat.com>2007-10-25 15:55:32 -0400
commit348e1af37ecfd3dca895c095a4a3de2d46b8c534 (patch)
treeab6ba82186da0304fd074b31fa82cac98a767133 /docs
parenteddfd94580895a64a54a9e7cb3fa099c0489574f (diff)
downloadthird_party-func-348e1af37ecfd3dca895c095a4a3de2d46b8c534.zip
third_party-func-348e1af37ecfd3dca895c095a4a3de2d46b8c534.tar.gz
third_party-func-348e1af37ecfd3dca895c095a4a3de2d46b8c534.tar.xz
Docs cleanup/fix
Diffstat (limited to 'docs')
-rw-r--r--docs/func.pod17
1 files changed, 10 insertions, 7 deletions
diff --git a/docs/func.pod b/docs/func.pod
index c95788f..bc8518e 100644
--- a/docs/func.pod
+++ b/docs/func.pod
@@ -48,6 +48,16 @@ Once you have the name of a module you want to run, use call to invoke it:
func target.example.org call modulename methodname
+=head1 OUTPUT FORMATS
+
+The "call" command by default outputs data using a "pretty printer". Other
+display options include --raw, --json, and --xmlrpc, which may be more
+desirable if you are running func inside another script or prefer to read
+those display formats.
+
+Example: func "*" call --json service inventory
+
+
=head1 HELPER MODULES
In addition to "call", there are other modules that make control of remote
@@ -78,13 +88,6 @@ func "*.example.org" copyfile --file=/tmp/foo --remotepath=/tmp/foo
While these helper modules will grow over time, usage of "call" syntax
directly is fine also. See the Wiki for more examples as they evolve.
-=head1 OUTPUT COMMANDS
-
-The "call" command by default outputs data using a "pretty printer". Other
-display options include --raw, --json, and --xmlrpc, which may be more
-desirable if you are running func inside another script or prefer to read
-those display formats.
-
=head1 --verbose
Use this flag to output extra information from func while it is running.