diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-03-19 15:12:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-03-19 15:12:59 -0400 |
commit | f003e97d10e42ea97b4a03fd62a296fe993a9677 (patch) | |
tree | ef736eb334fea8a77a53f1ba8a99f04108886b99 /doc/plugins/write | |
parent | 556ec2391414266248453809795b615070a52922 (diff) |
getargv needs to return a list reference
xml rpc only allows functions to return a single value, no lists. So getargv
needs to return a list reference, which means that the caller will see an xml
rpc array.
Diffstat (limited to 'doc/plugins/write')
-rw-r--r-- | doc/plugins/write/external.mdwn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/plugins/write/external.mdwn b/doc/plugins/write/external.mdwn index 2ee841e61..058b9e58a 100644 --- a/doc/plugins/write/external.mdwn +++ b/doc/plugins/write/external.mdwn @@ -53,7 +53,7 @@ it, external plugins can use the `getstate` and `setstate` RPCs. To access stored state, call `getstate("page", "id", "key")`, and to store state, call `setstate("page", "id", "key", "value")`. -To access ikiwiki's ARGV, call `getargv()`. To change its ARGV, call +To access ikiwiki's ARGV array, call `getargv()`. To change its ARGV, call `setargv(value)`. ## Notes on function parameters |