diff options
Diffstat (limited to 'func')
-rw-r--r-- | func/overlord/func_command.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/func/overlord/func_command.py b/func/overlord/func_command.py index 1a13233..7b491f7 100644 --- a/func/overlord/func_command.py +++ b/func/overlord/func_command.py @@ -41,6 +41,9 @@ class FuncCommandLine(command.Command): return False def handleArguments(self, args): + if len(args) < 2: + print "see the func manpage for usage" + sys.exit(411) server_string = args[0] # try to be clever about this for now if client.isServer(server_string) or self._isGlob(server_string): |