mirror of https://github.com/aria2/aria2
2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added shutdown and forceShutdown to aria2rpc * doc/xmlrpc/aria2rpcpull/1/head
parent
a49c853297
commit
d4b8522ad3
|
@ -1,3 +1,8 @@
|
||||||
|
2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
|
Added shutdown and forceShutdown to aria2rpc
|
||||||
|
* doc/xmlrpc/aria2rpc
|
||||||
|
|
||||||
2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Changed error message.
|
Changed error message.
|
||||||
|
|
|
@ -231,6 +231,8 @@ Usage: #{program_name} addUri URI... [options]
|
||||||
#{program_name} changeGlobalOption [options]
|
#{program_name} changeGlobalOption [options]
|
||||||
#{program_name} getVersion [options]
|
#{program_name} getVersion [options]
|
||||||
#{program_name} getSessionInfo [options]
|
#{program_name} getSessionInfo [options]
|
||||||
|
#{program_name} shutdown [options]
|
||||||
|
#{program_name} forceShutdown [options]
|
||||||
Options:
|
Options:
|
||||||
EOS
|
EOS
|
||||||
|
|
||||||
|
@ -312,6 +314,10 @@ elsif command == "getVersion" then
|
||||||
result=client.call("aria2."+command)
|
result=client.call("aria2."+command)
|
||||||
elsif command == "getSessionInfo" then
|
elsif command == "getSessionInfo" then
|
||||||
result=client.call("aria2."+command)
|
result=client.call("aria2."+command)
|
||||||
|
elsif command == "shutdown" then
|
||||||
|
result=client.call("aria2."+command)
|
||||||
|
elsif command == "forceShutdown" then
|
||||||
|
result=client.call("aria2."+command)
|
||||||
else
|
else
|
||||||
puts "Command not recognized"
|
puts "Command not recognized"
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue