From 781146b2fb0d3a78479367defaead49bb5123abe Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 7 Feb 2023 20:07:06 +0000 Subject: [PATCH] describe all database volflags in --help-flags --- copyparty/__main__.py | 2 +- copyparty/cfg.py | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/copyparty/__main__.py b/copyparty/__main__.py index 3337111e..c70fc6db 100755 --- a/copyparty/__main__.py +++ b/copyparty/__main__.py @@ -879,7 +879,7 @@ def add_transcoding(ap): def add_db_general(ap, hcores): ap2 = ap.add_argument_group('general db options') - ap2.add_argument("-e2d", action="store_true", help="enable up2k database, making files searchable + enables upload deduplocation") + ap2.add_argument("-e2d", action="store_true", help="enable up2k database, making files searchable + enables upload deduplication") ap2.add_argument("-e2ds", action="store_true", help="scan writable folders for new files on startup; sets -e2d") ap2.add_argument("-e2dsa", action="store_true", help="scans all folders on startup; sets -e2ds") ap2.add_argument("-e2v", action="store_true", help="verify file integrity; rehash all files and compare with db") diff --git a/copyparty/cfg.py b/copyparty/cfg.py index 3665b039..32389654 100644 --- a/copyparty/cfg.py +++ b/copyparty/cfg.py @@ -87,7 +87,12 @@ flagcats = { "lifetime=3600": "uploads are deleted after 1 hour", }, "database, general": { - "e2d": "sets -e2d (all -e2* args can be set using ce2* volflags)", + "e2d": "enable database; makes files searchable + enables upload dedup", + "e2ds": "scan writable folders for new files on startup; also sets -e2d", + "e2dsa": "scans all folders for new files on startup; also sets -e2d", + "e2t": "enable multimedia indexing; makes it possible to search for tags", + "e2ts": "scan existing files for tags on startup; also sets -e2t", + "e2tsa": "delete all metadata from DB (full rescan); also sets -e2ts", "d2ts": "disables metadata collection for existing files", "d2ds": "disables onboot indexing, overrides -e2ds*", "d2t": "disables metadata collection, overrides -e2t*",