chore: fix cus email include
This commit is contained in:
parent
0d0ec7dfc3
commit
a2fcbde789
|
@ -31,7 +31,7 @@
|
||||||
char cusEmail[] = "<support@taosdata.com>";
|
char cusEmail[] = "<support@taosdata.com>";
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CUS_NAME) || defined(CUS_PROMPT)
|
#if defined(CUS_NAME) || defined(CUS_PROMPT) || defined(CUS_EMAIL)
|
||||||
#include "cus_name.h"
|
#include "cus_name.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -92,7 +92,7 @@ void shellPrintHelp() {
|
||||||
#endif
|
#endif
|
||||||
printf("%s%s%s%s\r\n", indent, "-w,", indent, SHELL_WIDTH);
|
printf("%s%s%s%s\r\n", indent, "-w,", indent, SHELL_WIDTH);
|
||||||
printf("%s%s%s%s\r\n", indent, "-V,", indent, SHELL_VERSION);
|
printf("%s%s%s%s\r\n", indent, "-V,", indent, SHELL_VERSION);
|
||||||
printf("\r\n\r\nReport bugs to %s.\r\n", CUS_EMAIL);
|
printf("\r\n\r\nReport bugs to %s.\r\n", cusEmail);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef LINUX
|
#ifdef LINUX
|
||||||
|
@ -100,7 +100,7 @@ void shellPrintHelp() {
|
||||||
#include <termio.h>
|
#include <termio.h>
|
||||||
|
|
||||||
const char *argp_program_version = version;
|
const char *argp_program_version = version;
|
||||||
const char *argp_program_bug_address = CUS_EMAIL;
|
const char *argp_program_bug_address = cusEmail;
|
||||||
|
|
||||||
static struct argp_option shellOptions[] = {
|
static struct argp_option shellOptions[] = {
|
||||||
{"host", 'h', "HOST", 0, SHELL_HOST},
|
{"host", 'h', "HOST", 0, SHELL_HOST},
|
||||||
|
|
Loading…
Reference in New Issue