Skip to content

Commit

Permalink
[FIX] core: missing werkzeug in --dev's help
Browse files Browse the repository at this point in the history
closes odoo#185670

Related: odoo/enterprise#73008
Signed-off-by: Julien Castiaux (juc) <[email protected]>
  • Loading branch information
Julien00859 committed Nov 15, 2024
1 parent 5710ba7 commit 8c27017
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions odoo/tools/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,8 +360,14 @@ def _build_cli(self):
# Advanced options
group = optparse.OptionGroup(parser, "Advanced options")
group.add_option('--dev', dest='dev_mode', type='comma', my_default=[], file_exportable=False,
help="Enable developer mode. Param: List of options separated by comma. "
"Options : all, reload, qweb, xml")
# optparse uses a fixed 55 chars to print the help no matter the
# terminal size, abuse that to align the features
help="Enable developer features (comma-separated list, use "
'"all" for all features). Available features: '
"- qweb: log the compiled xml with qweb errors "
"- reload: restart server on change in the source code "
"- werkzeug: open a html debugger on http request error "
"- xml: read views from the source code, and not the db ")
group.add_option('--shell-interface', dest='shell_interface', my_default='', file_exportable=False,
help="Specify a preferred REPL to use in shell mode. Supported REPLs are: "
"[ipython|ptpython|bpython|python]")
Expand Down

0 comments on commit 8c27017

Please sign in to comment.