Fix typo on UnixCommandClass contrib. Resolves #2305

This commit is contained in:
Griatch 2021-01-18 22:13:00 +01:00
parent a99729684e
commit b633b48141
2 changed files with 3 additions and 1 deletions

View file

@ -27,6 +27,8 @@
- New `crafting` contrib, adding a full crafting subsystem (Griatch 2020) - New `crafting` contrib, adding a full crafting subsystem (Griatch 2020)
- The `rplanguage` contrib now auto-capitalizes sentences and retains ellipsis (...). This - The `rplanguage` contrib now auto-capitalizes sentences and retains ellipsis (...). This
change means that proper nouns at the start of sentences will not be treated as nouns. change means that proper nouns at the start of sentences will not be treated as nouns.
- Make MuxCommand `lhs/rhslist` always be lists, also if empty (used to be the empty string)
- Fix typo in UnixCommand contrib, where `help` was given as `--hel`.
### Evennia 0.9.5 (2019-2020) ### Evennia 0.9.5 (2019-2020)

View file

@ -123,7 +123,7 @@ class UnixCommandParser(argparse.ArgumentParser):
# Replace the -h/--help # Replace the -h/--help
self.add_argument( self.add_argument(
"-h", "--hel", nargs=0, action=HelpAction, help="display the command help" "-h", "--help", nargs=0, action=HelpAction, help="display the command help"
) )
def format_usage(self): def format_usage(self):