summaryrefslogtreecommitdiffstats
path: root/func/overlord/cmd_modules/call.py
diff options
context:
space:
mode:
Diffstat (limited to 'func/overlord/cmd_modules/call.py')
-rw-r--r--func/overlord/cmd_modules/call.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/func/overlord/cmd_modules/call.py b/func/overlord/cmd_modules/call.py
index e1674fe..59a2997 100644
--- a/func/overlord/cmd_modules/call.py
+++ b/func/overlord/cmd_modules/call.py
@@ -36,6 +36,7 @@ class Call(base_command.BaseCommand):
summary = "allows a specific module and method to be called"
def addOptions(self):
self.parser.add_option("-v", "--verbose", dest="verbose",
+ default=self.verbose,
action="store_true")
self.parser.add_option("-x", "--xmlrpc", dest="xmlrpc",
help="output return data in XMLRPC format",
@@ -51,9 +52,10 @@ class Call(base_command.BaseCommand):
action="store_true")
self.parser.add_option("-f", "--forks", dest="forks",
help="how many parallel processes? (default 1)",
- default=DEFAULT_FORKS)
+ default=self.forks)
self.parser.add_option("-a", "--async", dest="async",
help="Use async calls? (default 0)",
+ default=self.async,
action="store_true")
self.parser.add_option("-n", "--nopoll", dest="nopoll",
help="Don't wait for async results",
@@ -66,6 +68,7 @@ class Call(base_command.BaseCommand):
action="store_true")
self.parser.add_option('-d', '--delegate', dest="delegate",
help="use delegation to make function call",
+ default=self.delegate,
action="store_true")
def handleOptions(self, options):