summaryrefslogtreecommitdiffstats
path: root/func/overlord/cmd_modules/copyfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'func/overlord/cmd_modules/copyfile.py')
-rw-r--r--func/overlord/cmd_modules/copyfile.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/func/overlord/cmd_modules/copyfile.py b/func/overlord/cmd_modules/copyfile.py
index 63341f2..f464575 100644
--- a/func/overlord/cmd_modules/copyfile.py
+++ b/func/overlord/cmd_modules/copyfile.py
@@ -42,6 +42,10 @@ class CopyFile(base_command.BaseCommand):
self.verbose = self.options.verbose
def do(self, args):
+ if not args:
+ self.outputUsage()
+ return
+
self.server_spec = self.parentCommand.server_spec
self.getOverlord()