Removing display of help screen when errors occur
Change-Id: If97fb0625f0a643a0c8e70616475a888af726112 Closes-Bug: #1432760
This commit is contained in:
@@ -57,7 +57,6 @@ class CommandsBase(object):
|
|||||||
try:
|
try:
|
||||||
return self._actions[action]()
|
return self._actions[action]()
|
||||||
except exc.CommandError as ce:
|
except exc.CommandError as ce:
|
||||||
print(self.__doc__)
|
|
||||||
print("ERROR: %s" % ce.message)
|
print("ERROR: %s" % ce.message)
|
||||||
else:
|
else:
|
||||||
print(self.__doc__)
|
print(self.__doc__)
|
||||||
|
Reference in New Issue
Block a user