Improved error message for unknown commands.

This commit is contained in:
Bastian Kleineidam 2010-02-21 13:00:21 +01:00
parent 314e6805aa
commit ed244c1338
1 changed files with 1 additions and 1 deletions

View File

@ -478,7 +478,7 @@ class Baker(object):
# use that. # use that.
cmd = self.defaultcommand cmd = self.defaultcommand
if cmd is None: if cmd is None:
raise CommandError("No command specified") raise CommandError("unknown command `%s' specified" % argv[1])
options = argv[1:] options = argv[1:]