diff options
| author | Adrian Likins <alikins@grimlock.devel.redhat.com> | 2007-10-26 15:10:07 -0400 |
|---|---|---|
| committer | Adrian Likins <alikins@grimlock.devel.redhat.com> | 2007-10-26 15:10:07 -0400 |
| commit | c775e11d5be9253de8daeba4d2be2067ef1c9f54 (patch) | |
| tree | 5df82438b787eb46d459c48003a3ad6c9d2fc897 /func | |
| parent | 6a8b6ef5ca58c8a785098640174ab6556f3935f0 (diff) | |
| parent | 2484eb6eec81a61a16331309822dbea5afeec595 (diff) | |
Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func
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): |
