char *ctdldir = CTDLDIR;
// display the greeting
- fprintf(stderr, "\033[44m\033[1m"
- "╔════════════════════════════════════════════════════════════════════════╗\n"
- "║ DB Dump utility for Citadel ║\n"
- "║ Copyright (c) 2023-2024 by citadel.org et al. ║\n"
- "║ This program is open source software. Use, duplication, or disclosure ║\n"
- "║ is subject to the terms of the GNU General Public license v3. ║\n"
- "╚════════════════════════════════════════════════════════════════════════╝\033[0m\n"
+ fprintf(stderr,
+ "\033[44m\033[1m╔════════════════════════════════════════════════════════════════════════╗\033[0m\n"
+ "\033[44m\033[1m║ DB Dump utility for Citadel version %-4d ║\033[0m\n"
+ "\033[44m\033[1m║ Copyright (c) 2023-2024 by citadel.org et al. ║\033[0m\n"
+ "\033[44m\033[1m║ This program is open source software. Use, duplication, or disclosure ║\033[0m\n"
+ "\033[44m\033[1m║ is subject to the terms of the GNU General Public license v3. ║\033[0m\n"
+ "\033[44m\033[1m╚════════════════════════════════════════════════════════════════════════╝\033[0m\n",
+ REV_LEVEL
);
// Parse command line
// display the greeting
fprintf(stderr,
"\033[44m\033[1m╔════════════════════════════════════════════════════════════════════════╗\033[0m\n"
- "\033[44m\033[1m║ DB Load utility for Citadel ║\033[0m\n"
+ "\033[44m\033[1m║ DB Load utility for Citadel version %-4d ║\033[0m\n"
"\033[44m\033[1m║ Copyright (c) 2023-2024 by citadel.org et al. ║\033[0m\n"
"\033[44m\033[1m║ This program is open source software. Use, duplication, or disclosure ║\033[0m\n"
"\033[44m\033[1m║ is subject to the terms of the GNU General Public license v3. ║\033[0m\n"
- "\033[44m\033[1m╚════════════════════════════════════════════════════════════════════════╝\033[0m\n"
+ "\033[44m\033[1m╚════════════════════════════════════════════════════════════════════════╝\033[0m\n",
+ REV_LEVEL
);
// Parse command line