Added --checksum option to aria2rpc

pull/2/head
Tatsuhiro Tsujikawa 2011-08-23 17:55:39 +09:00
parent b7b5fac13c
commit 8346b71593
1 changed files with 1 additions and 0 deletions

View File

@ -218,6 +218,7 @@ OptionParser.new do |opt|
opt.on("--hash-check-only [BOOL]",["true","false"]){|val| opt.on("--hash-check-only [BOOL]",["true","false"]){|val|
options["hash-check-only"]=val||"true" options["hash-check-only"]=val||"true"
} }
opt.on("--checksum TYPE_DIGEST"){|val| options["checksum"]=val}
opt.on("--max-overall-download-limit LIMIT"){|val| options["max-overall-download-limit"]=val} opt.on("--max-overall-download-limit LIMIT"){|val| options["max-overall-download-limit"]=val}
opt.on("--max-overall-upload-limit LIMIT"){|val| options["max-overall-upload-limit"]=val} opt.on("--max-overall-upload-limit LIMIT"){|val| options["max-overall-upload-limit"]=val}