Merge pull request #1548 from sorressean/spawn-typofix

Fixed typo in help message that shows syntax.
This commit is contained in:
Griatch 2018-01-05 09:34:07 +01:00 committed by GitHub
commit 7335b4fa3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2686,7 +2686,7 @@ class CmdSpawn(COMMAND_DEFAULT_CLASS):
def _show_prototypes(prototypes):
"""Helper to show a list of available prototypes"""
prots = ", ".join(sorted(prototypes.keys()))
return "\nAvailable prototypes (case sensistive): %s" % (
return "\nAvailable prototypes (case sensitive): %s" % (
"\n" + utils.fill(prots) if prots else "None")
prototypes = spawn(return_prototypes=True)