summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Simonis <chs@openerp.com>2011-10-14 11:36:26 +0200
committerChristophe Simonis <chs@openerp.com>2011-10-14 11:36:26 +0200
commit952e4cf60244c4fd4aa91e8a04c28bb5a3cb7825 (patch)
tree3839c5702a808a792eab93a65b63c01ad0adca00
parenta760d1f75a49450600ebed67dbfff0cc5610c592 (diff)
[IMP] command line: move the option "addons-path" to the right group
bzr revid: chs@openerp.com-20111014093626-4ndm6kzgxd2idmjn
-rw-r--r--openerp/tools/config.py6
1 files changed, 3 insertions, 3 deletions
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')