From: Art Cancro Date: Wed, 6 Sep 2023 03:00:39 +0000 (-0400) Subject: ctdldump/ctdlload: document the -y flag X-Git-Tag: v993~2 X-Git-Url: https://code.citadel.org/?a=commitdiff_plain;h=5ffddc1804e3c60464ea09ecd8cce18584093d95;p=citadel.git ctdldump/ctdlload: document the -y flag --- diff --git a/citadel/utils/ctdldump.c b/citadel/utils/ctdldump.c index a71eb3bb2..ed57a90bc 100644 --- a/citadel/utils/ctdldump.c +++ b/citadel/utils/ctdldump.c @@ -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); } diff --git a/citadel/utils/ctdlload.c b/citadel/utils/ctdlload.c index 5e33c4303..159e9ab95 100644 --- a/citadel/utils/ctdlload.c +++ b/citadel/utils/ctdlload.c @@ -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); }