summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
authorLuke Macken <lmacken@redhat.com>2008-01-14 17:14:23 -0500
committerLuke Macken <lmacken@redhat.com>2008-01-14 17:14:23 -0500
commitc4371ce647118902dd7574394d86c690c9be686e (patch)
tree9d702b220948fb4796cf1e253950fa486fce1eea /func
parent74e9bf9f3319da3c78e2718a8122e5edf8879638 (diff)
downloadthird_party-func-c4371ce647118902dd7574394d86c690c9be686e.tar.gz
third_party-func-c4371ce647118902dd7574394d86c690c9be686e.tar.xz
third_party-func-c4371ce647118902dd7574394d86c690c9be686e.zip
Our client.command.Command class looks for 'usage', not 'useage'
Diffstat (limited to 'func')
-rw-r--r--func/overlord/cmd_modules/call.py2
-rw-r--r--func/overlord/cmd_modules/copyfile.py2
-rw-r--r--func/overlord/cmd_modules/listminions.py2
-rw-r--r--func/overlord/cmd_modules/ping.py2
-rw-r--r--func/overlord/cmd_modules/show.py4
-rw-r--r--func/overlord/func_command.py2
6 files changed, 7 insertions, 7 deletions
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]