diff --git a/sanic/cli/arguments.py b/sanic/cli/arguments.py index bd63e362..6ee08434 100644 --- a/sanic/cli/arguments.py +++ b/sanic/cli/arguments.py @@ -181,18 +181,11 @@ class DevelopmentGroup(Group): dest="debug", action="store_true", help=( - "Run the server in DEBUG mode. It includes DEBUG logging, " - "additional context on exceptions, and other settings " + "Run the server in DEBUG mode. It includes DEBUG logging,\n" + "additional context on exceptions, and other settings\n" "not-safe for PRODUCTION, but helpful for debugging problems." ), ) - self.container.add_argument( - "-d", - "--dev", - dest="dev", - action="store_true", - help=("Debug + auto_reload."), - ) self.container.add_argument( "-r", "--reload", @@ -211,6 +204,13 @@ class DevelopmentGroup(Group): action="append", help="Extra directories to watch and reload on changes", ) + self.container.add_argument( + "-d", + "--dev", + dest="dev", + action="store_true", + help=("debug + auto reload."), + ) class OutputGroup(Group):