bogoutil long options

David Relson relson at osagesoftware.com
Fri Dec 24 02:58:24 CET 2004


Matthias,

At present, bogoutil has a number of options especially for database
maintenance.  "bogoutil --help" includes the following:

    "environment maintenance:\n",
    "  -k, --db_cachesize=size   - set Berkeley DB cache size (MB).\n",
    "  -C, --check=file          - check data file.\n",
    "  -P, --prune=dir           - remove inactive log files in dir.\n",
    "  -f, --recover=dir         - run recovery on data base in dir.\n",
    "  -F, --crecover=dir        - run catastrophic recovery on data base in dir.\n",
    "      --remove-environment  - remove environment.\n",
#ifdef	HAVE_DECL_DB_CREATE
    "      --db_lk_max_locks     - set max lock count.\n",
    "      --db_lk_max_objects   - set max object count.\n",
#ifdef	FUTURE_DB_OPTIONS
    "      --db_log_autoremove   - set autoremoving of logs.\n",
    "      --db_txn_durable      - set durable mode.\n",
#endif
#endif

To emphasize that these options are related to the database
_environment_ (as distinct from wordlist.db), I'd like to add "db_"
prefixes to the long options not having them.  I would also like to
delete the single character flags, i.e. C, P, f, and F.

Do you mind?

David



More information about the bogofilter-dev mailing list