diff options
Diffstat (limited to 'module/remote/thriftbackend/thriftgen/pyload/Pyload-remote')
-rwxr-xr-x | module/remote/thriftbackend/thriftgen/pyload/Pyload-remote | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote index 8c2b368e1..fd48556dd 100755 --- a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote +++ b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote @@ -70,7 +70,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print ' void stopDownloads( fids)' print ' void setPackageName(PackageID pid, string name)' print ' void movePackage(Destination destination, PackageID pid)' - print ' void setPriority(PackageID pid, Priority priority)' + print ' void moveFiles( fids, PackageID pid)' print ' void orderPackage(PackageID pid, i16 position)' print ' void orderFile(FileID fid, i16 position)' print ' void setPackageData(PackageID pid, data)' @@ -424,11 +424,11 @@ elif cmd == 'movePackage': sys.exit(1) pp.pprint(client.movePackage(eval(args[0]),eval(args[1]),)) -elif cmd == 'setPriority': +elif cmd == 'moveFiles': if len(args) != 2: - print 'setPriority requires 2 args' + print 'moveFiles requires 2 args' sys.exit(1) - pp.pprint(client.setPriority(eval(args[0]),eval(args[1]),)) + pp.pprint(client.moveFiles(eval(args[0]),eval(args[1]),)) elif cmd == 'orderPackage': if len(args) != 2: |