Updates to CLI help messaging (#2372)
This commit is contained in:
parent
8dfa49b648
commit
4a416e177a
|
@ -181,18 +181,11 @@ class DevelopmentGroup(Group):
|
||||||
dest="debug",
|
dest="debug",
|
||||||
action="store_true",
|
action="store_true",
|
||||||
help=(
|
help=(
|
||||||
"Run the server in DEBUG mode. It includes DEBUG logging, "
|
"Run the server in DEBUG mode. It includes DEBUG logging,\n"
|
||||||
"additional context on exceptions, and other settings "
|
"additional context on exceptions, and other settings\n"
|
||||||
"not-safe for PRODUCTION, but helpful for debugging problems."
|
"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(
|
self.container.add_argument(
|
||||||
"-r",
|
"-r",
|
||||||
"--reload",
|
"--reload",
|
||||||
|
@ -211,6 +204,13 @@ class DevelopmentGroup(Group):
|
||||||
action="append",
|
action="append",
|
||||||
help="Extra directories to watch and reload on changes",
|
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):
|
class OutputGroup(Group):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user