mirror of https://github.com/aria2/aria2
2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added getOption and getGlobalOption to aria2rpc. * doc/xmlrpc/aria2rpcpull/1/head
parent
c7a59e076e
commit
d78b2721a5
|
@ -1,3 +1,8 @@
|
|||
2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Added getOption and getGlobalOption to aria2rpc.
|
||||
* doc/xmlrpc/aria2rpc
|
||||
|
||||
2009-12-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||
|
||||
Documented getOption and getGlobalOption XML-RPC method in man
|
||||
|
|
|
@ -180,6 +180,8 @@ Usage: #{program_name} addUri URI... [options]
|
|||
#{program_name} tellStatus GID [options]
|
||||
#{program_name} tellActive [options]
|
||||
#{program_name} tellWaiting [options]
|
||||
#{program_name} getOption GID [options]
|
||||
#{program_name} getGlobalOption [options]
|
||||
#{program_name} getFiles GID [options]
|
||||
#{program_name} getUris GID [options]
|
||||
#{program_name} getPeers GID [options]
|
||||
|
@ -241,6 +243,10 @@ elsif command == "tellActive" then
|
|||
result=client.call("aria2."+command)
|
||||
elsif command == "tellWaiting" then
|
||||
result=client.call("aria2."+command, resources[0].to_i(), resources[1].to_i())
|
||||
elsif command == "getOption" then
|
||||
result=client.call("aria2."+command, resources[0])
|
||||
elsif command == "getGlobalOption" then
|
||||
result=client.call("aria2."+command)
|
||||
elsif command == "remove" then
|
||||
result=client.call("aria2."+command, resources[0])
|
||||
elsif command == "getFiles" then
|
||||
|
|
Loading…
Reference in New Issue