Improved error message for unknown commands.
This commit is contained in:
parent
314e6805aa
commit
ed244c1338
|
@ -478,7 +478,7 @@ class Baker(object):
|
|||
# use that.
|
||||
cmd = self.defaultcommand
|
||||
if cmd is None:
|
||||
raise CommandError("No command specified")
|
||||
raise CommandError("unknown command `%s' specified" % argv[1])
|
||||
|
||||
options = argv[1:]
|
||||
|
||||
|
|
Loading…
Reference in New Issue