From 5ffddc1804e3c60464ea09ecd8cce18584093d95 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 5 Sep 2023 23:00:39 -0400 Subject: [PATCH] ctdldump/ctdlload: document the -y flag --- citadel/utils/ctdldump.c | 3 ++- citadel/utils/ctdlload.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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); } -- 2.39.2