From 35742c2cb023ac49ab3056752d2040cdb030cc2b Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 1 Jan 2012 13:36:59 +0100 Subject: Happy new Year ! --- pyLoadCli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyLoadCli.py') diff --git a/pyLoadCli.py b/pyLoadCli.py index 079cee19c..97e64dfee 100755 --- a/pyLoadCli.py +++ b/pyLoadCli.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- # -#Copyright (C) 2011 RaNaN +#Copyright (C) 2012 RaNaN # #This program is free software; you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by @@ -392,7 +392,7 @@ class RefreshThread(Thread): def print_help(config): print - print "pyLoadCli Copyright (c) 2008-2011 the pyLoad Team" + print "pyLoadCli Copyright (c) 2008-2012 the pyLoad Team" print print "Usage: [python] pyLoadCli.py [options] [command]" print -- cgit v1.2.3 From 18466eb7f8f3cd4ca9a0824074d2ff454939fce6 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 4 Jan 2012 17:23:13 +0100 Subject: some fixes --- pyLoadCli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyLoadCli.py') diff --git a/pyLoadCli.py b/pyLoadCli.py index 97e64dfee..d68b5faec 100755 --- a/pyLoadCli.py +++ b/pyLoadCli.py @@ -289,14 +289,14 @@ class Cli: print _("Please use this syntax: add ...") return - self.client.addPackage(args[0], args[1:], Destination.Queue) + self.client.addPackage(args[0], args[1:], Destination.Queue, "") elif command == "add_coll": if len(args) < 2: print _("Please use this syntax: add ...") return - self.client.addPackage(args[0], args[1:], Destination.Collector) + self.client.addPackage(args[0], args[1:], Destination.Collector, "") elif command == "del_file": self.client.deleteFiles([int(x) for x in args]) -- cgit v1.2.3 From ed131ce9fba4b374586885999029d1743e9feefd Mon Sep 17 00:00:00 2001 From: X3n0m0rph59 Date: Sun, 22 Apr 2012 17:18:52 +0200 Subject: Fixed spelling in the source --- pyLoadCli.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pyLoadCli.py') diff --git a/pyLoadCli.py b/pyLoadCli.py index d68b5faec..cf8fabd1a 100755 --- a/pyLoadCli.py +++ b/pyLoadCli.py @@ -402,13 +402,13 @@ def print_help(config): print "" print " -i, --interactive", " Start in interactive mode" print - print " -u, --username=", " " * 2, "Specify Username" + print " -u, --username=", " " * 2, "Specify user name" print " --pw=", " " * 2, "Password" - print " -a, --address=", " " * 3, "Specify address (current=%s)" % config["addr"] - print " -p, --port", " " * 7, "Specify port (current=%s)" % config["port"] + print " -a, --address=", " " * 3, "Use address (current=%s)" % config["addr"] + print " -p, --port", " " * 7, "Use port (current=%s)" % config["port"] print print " -l, --language", " " * 3, "Set user interface language (current=%s)" % config["language"] - print " -h, --help", " " * 7, "Display this help screen" + print " -h, --help", " " * 7, "Display this help text" print " -c, --commands", " " * 3, "List all available commands" print -- cgit v1.2.3