int confirmed = 0;
static DB_ENV *dst_dbenv; // Source DB environment (global)
+ // display the greeting
+ fprintf(stderr, "\033[42m\033[30m \033[K\033[0m\n"
+ "\033[42m\033[30m DB Load utility for Citadel \033[K\033[0m\n"
+ "\033[42m\033[30m Copyright (c) 2023 by citadel.org et al. \033[K\033[0m\n"
+ "\033[42m\033[30m This program is open source software. Use, duplication, or disclosure \033[K\033[0m\n"
+ "\033[42m\033[30m is subject to the terms of the GNU General Public license v3. \033[K\033[0m\n"
+ "\033[42m\033[30m \033[K\033[0m\n");
+
// Parse command line
int a;
while ((a = getopt(argc, argv, "h:y")) != EOF) {
}
if (confirmed == 1) {
- fprintf(stderr,"You have specified the [-y] flag, so processing will continue.\n");
+ fprintf(stderr, "ctdlload: You have specified the [-y] flag, so processing will continue.\n");
}
else {
- fprintf(stderr,"Please read [ https://www.citadel.org/ctdlload.html ] to learn how to proceed.\n");
+ fprintf(stderr, "ctdlload: Please read [ https://www.citadel.org/ctdlload.html ] to learn how to proceed.\n");
exit(0);
}