2010-04-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Added shutdown and forceShutdown to aria2rpc
	* doc/xmlrpc/aria2rpc
pull/1/head
Tatsuhiro Tsujikawa 2010-04-03 08:39:58 +00:00
parent a49c853297
commit d4b8522ad3
2 changed files with 11 additions and 0 deletions

View File

@ -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.

View File

@ -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