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>
|
||||
|
||||
Changed error message.
|
||||
|
|
|
@ -231,6 +231,8 @@ Usage: #{program_name} addUri URI... [options]
|
|||
#{program_name} changeGlobalOption [options]
|
||||
#{program_name} getVersion [options]
|
||||
#{program_name} getSessionInfo [options]
|
||||
#{program_name} shutdown [options]
|
||||
#{program_name} forceShutdown [options]
|
||||
Options:
|
||||
EOS
|
||||
|
||||
|
@ -312,6 +314,10 @@ elsif command == "getVersion" then
|
|||
result=client.call("aria2."+command)
|
||||
elsif command == "getSessionInfo" then
|
||||
result=client.call("aria2."+command)
|
||||
elsif command == "shutdown" then
|
||||
result=client.call("aria2."+command)
|
||||
elsif command == "forceShutdown" then
|
||||
result=client.call("aria2."+command)
|
||||
else
|
||||
puts "Command not recognized"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue