For some reason the command-line arguments for copyfile can only be
found online or in the source code. They are not part of the "usage" info,
which is literally just a string defined in the copyfile command module. This
patch makes that string a little more useful, as follows:
[root@centos1 ~]# func '*' copyfile
Usage: func [--options] "hostname glob" module method [arg1] [arg2] ... func
[--options] "hostname glob" module method [arg1] [arg2] ...
copyfile -f localfile --remotepath /remotepath/filename
localfile = the file on the overlord to copy
/remotepath/filename = the full path for the copied file on the minion
This patch changes one line of code. :)
--
Marcus
Show replies by date