help bad spelers

Some of us can never remember the old ditty:

   i before e, except after c
   or when sounding like "a"
   as in neighbor or weigh.

Perhaps magic wormhole can coddle us in our misorthography :)
This commit is contained in:
Daniel Kahn Gillmor 2016-07-31 18:55:42 -04:00
parent 5f76885d78
commit 2fafdf34ee

View File

@ -41,6 +41,8 @@ def _compose(*decorators):
ALIASES = { ALIASES = {
"tx": "send", "tx": "send",
"rx": "receive", "rx": "receive",
"recieve": "receive",
"recv": "receive",
} }
class AliasedGroup(click.Group): class AliasedGroup(click.Group):
def get_command(self, ctx, cmd_name): def get_command(self, ctx, cmd_name):