diff --git a/openerp/tools/config.py b/openerp/tools/config.py index a628cc8cab0..f1c3931e81f 100644 --- a/openerp/tools/config.py +++ b/openerp/tools/config.py @@ -102,6 +102,9 @@ class configmanager(object): group.add_option("-P", "--import-partial", dest="import_partial", my_default='', help="Use this for big data importation, if it crashes you will be able to continue at the current state. Provide a filename to store intermediate importation states.") group.add_option("--pidfile", dest="pidfile", help="file where the server pid will be stored") + group.add_option("--addons-path", dest="addons_path", + help="specify additional addons paths (separated by commas).", + action="callback", callback=self._check_addons_path, nargs=1, type="string") group.add_option("--load", dest="server_wide_modules", help="Comma-separated list of server-wide modules default=web") parser.add_option_group(group) @@ -233,9 +236,6 @@ class configmanager(object): help="overwrites existing translation terms on updating a module or importing a CSV or a PO file.") group.add_option("--modules", dest="translate_modules", help="specify modules to export. Use in combination with --i18n-export") - group.add_option("--addons-path", dest="addons_path", - help="specify additional addons paths (separated by commas).", - action="callback", callback=self._check_addons_path, nargs=1, type="string") parser.add_option_group(group) security = optparse.OptionGroup(parser, 'Security-related options')