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.
sub getargv ($) { #{{{
my $plugin=shift;
- return @ARGV;
+ return \@ARGV;
} #}}}
sub setargv ($@) { #{{{
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