diff options
author | Aurélien Bompard <aurelien@bompard.org> | 2013-07-31 16:28:17 +0200 |
---|---|---|
committer | Aurélien Bompard <aurelien@bompard.org> | 2013-07-31 16:29:17 +0200 |
commit | 6c2bc5b4925dec43d402713b4fdc464ba5c71677 (patch) | |
tree | 9d6c93366ef01da230857328dbfc38d4a47adb2c /kittystore/import.py | |
parent | 6c34df90b8f8eac80a417b155f039f771b6d8520 (diff) | |
download | kittystore-6c2bc5b4925dec43d402713b4fdc464ba5c71677.tar.gz kittystore-6c2bc5b4925dec43d402713b4fdc464ba5c71677.tar.xz kittystore-6c2bc5b4925dec43d402713b4fdc464ba5c71677.zip |
Only accept a Django-like settings module to configure
Diffstat (limited to 'kittystore/import.py')
-rw-r--r-- | kittystore/import.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/kittystore/import.py b/kittystore/import.py index ab78dd6..c33cacf 100644 --- a/kittystore/import.py +++ b/kittystore/import.py @@ -222,14 +222,11 @@ class DbImporter(object): def parse_args(): usage = "%prog -s store_url -l list_name mbox_file [mbox_file ...]" parser = OptionParser(usage=usage) - parser.add_option("-s", "--store", help="the URL to the store database") parser.add_option("-l", "--list-name", help="the fully-qualified list " "name (including the '@' symbol and the domain name") - parser.add_option("-i", "--search-index", metavar="PATH", - help="the path to the search index") - parser.add_option("--settings", + parser.add_option("-s", "--settings", help="the Python path to a Django settings module") - parser.add_option("--pythonpath", + parser.add_option("-p", "--pythonpath", help="a directory to add to the Python path") parser.add_option("-v", "--verbose", action="store_true", help="show more output") |