From c4371ce647118902dd7574394d86c690c9be686e Mon Sep 17 00:00:00 2001 From: Luke Macken Date: Mon, 14 Jan 2008 17:14:23 -0500 Subject: Our client.command.Command class looks for 'usage', not 'useage' --- func/overlord/cmd_modules/call.py | 2 +- func/overlord/cmd_modules/copyfile.py | 2 +- func/overlord/cmd_modules/listminions.py | 2 +- func/overlord/cmd_modules/ping.py | 2 +- func/overlord/cmd_modules/show.py | 4 ++-- func/overlord/func_command.py | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'func') diff --git a/func/overlord/cmd_modules/call.py b/func/overlord/cmd_modules/call.py index 4828981..7add5bf 100644 --- a/func/overlord/cmd_modules/call.py +++ b/func/overlord/cmd_modules/call.py @@ -25,7 +25,7 @@ DEFAULT_FORKS = 1 class Call(client.command.Command): name = "call" - useage = "call nodule method name arg1 arg2..." + usage = "call module method name arg1 arg2..." def addOptions(self): self.parser.add_option("-v", "--verbose", dest="verbose", action="store_true") diff --git a/func/overlord/cmd_modules/copyfile.py b/func/overlord/cmd_modules/copyfile.py index 7950b7b..295aeab 100644 --- a/func/overlord/cmd_modules/copyfile.py +++ b/func/overlord/cmd_modules/copyfile.py @@ -26,7 +26,7 @@ DEFAULT_PORT = 51234 class CopyFile(client.command.Command): name = "copyfile" - useage = "copy a file to a client" + usage = "copy a file to a client" def addOptions(self): diff --git a/func/overlord/cmd_modules/listminions.py b/func/overlord/cmd_modules/listminions.py index b34efe4..50c7e24 100644 --- a/func/overlord/cmd_modules/listminions.py +++ b/func/overlord/cmd_modules/listminions.py @@ -22,7 +22,7 @@ DEFAULT_PORT = 51234 class ListMinions(client.command.Command): name = "list_minions" - useage = "show known minions" + usage = "show known minions" def addOptions(self): self.parser.add_option("-v", "--verbose", dest="verbose", diff --git a/func/overlord/cmd_modules/ping.py b/func/overlord/cmd_modules/ping.py index 397adc8..f756fd9 100644 --- a/func/overlord/cmd_modules/ping.py +++ b/func/overlord/cmd_modules/ping.py @@ -28,7 +28,7 @@ DEFAULT_PORT = 51234 class Ping(client.command.Command): name = "ping" - useage = "see what func minions are up/accessible" + usage = "see what func minions are up/accessible" def addOptions(self): """ diff --git a/func/overlord/cmd_modules/show.py b/func/overlord/cmd_modules/show.py index 4a26a75..e1df554 100644 --- a/func/overlord/cmd_modules/show.py +++ b/func/overlord/cmd_modules/show.py @@ -25,7 +25,7 @@ DEFAULT_PORT = 51234 class ShowHardware(client.command.Command): name = "hardware" - useage = "show hardware details" + usage = "show hardware details" # FIXME: we might as well make verbose be in the subclass # and probably an inc variable while we are at it @@ -74,7 +74,7 @@ class ShowHardware(client.command.Command): class Show(client.command.Command): name = "show" - useage = "various simple report stuff" + usage = "various simple report stuff" subCommandClasses = [ShowHardware] def addOptions(self): self.parser.add_option("-v", "--verbose", dest="verbose", diff --git a/func/overlord/func_command.py b/func/overlord/func_command.py index 76b4e95..09b324a 100644 --- a/func/overlord/func_command.py +++ b/func/overlord/func_command.py @@ -15,7 +15,7 @@ from func.overlord import client class FuncCommandLine(command.Command): name = "func" - useage = "func is the commandline interface to a func minion" + usage = "func is the commandline interface to a func minion" subCommandClasses = [call.Call, show.Show, copyfile.CopyFile, listminions.ListMinions, ping.Ping] -- cgit