ctdldump/ctdlload: document the -y flag
authorArt Cancro <ajc@citadel.org>
Wed, 6 Sep 2023 03:00:39 +0000 (23:00 -0400)
committerArt Cancro <ajc@citadel.org>
Wed, 6 Sep 2023 03:00:39 +0000 (23:00 -0400)
citadel/utils/ctdldump.c
citadel/utils/ctdlload.c

index a71eb3bb22d89a7ce7d6beec60563f1ad32b8a6d..ed57a90bcb1ac0cddc118ed02f7b3b7f018b34da 100644 (file)
@@ -387,7 +387,8 @@ int main(int argc, char **argv) {
        }
        else {
                fprintf(stderr, "ctdldump: usage: ctdldump -y -h[citadel_dir] >[dump_file]\n");
-               fprintf(stderr, "          [citadel_dir] is your server directory, usually /usr/local/citadel\n");
+               fprintf(stderr, "          -y : yes, I know this program can do damage and I want to run it anyway.\n");
+               fprintf(stderr, "          -h : [citadel_dir] is your server directory, usually /usr/local/citadel\n");
                fprintf(stderr, "          Please read [ https://www.citadel.org/dump-and-load.html ] to learn how to proceed.\n");
                exit(1);
        }
index 5e33c43037b4b78a94a750fd86076e9177e445fd..159e9ab95733ed2c6bc190abd9d8391d1998af55 100644 (file)
@@ -754,7 +754,8 @@ int main(int argc, char **argv) {
        }
        else {
                fprintf(stderr, "ctdlload: usage: ctdlload -y -h[citadel_dir] <[dump_file]\n");
-               fprintf(stderr, "          [citadel_dir] is your server directory, usually /usr/local/citadel\n");
+               fprintf(stderr, "          -y : yes, I know this program can do damage and I want to run it anyway.\n");
+               fprintf(stderr, "          -h : [citadel_dir] is your server directory, usually /usr/local/citadel\n");
                fprintf(stderr, "          Please read [ https://www.citadel.org/dump-and-load.html ] to learn how to proceed.\n");
                exit(1);
        }