Rename migrate_to_labels -> migrate-to-labels
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
b183a66db1
commit
3080244c0b
3 changed files with 5 additions and 3 deletions
|
|
@ -33,6 +33,8 @@ class DocoptCommand(object):
|
|||
if command is None:
|
||||
raise SystemExit(getdoc(self))
|
||||
|
||||
command = command.replace('-', '_')
|
||||
|
||||
if not hasattr(self, command):
|
||||
raise NoSuchCommand(command, self)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue