提交 bb929bce 编写于 作者: Z zyyang-taosdata

[TS-763]<release>: release script modify

上级 703c0f89
...@@ -29,7 +29,11 @@ struct termios oldtio; ...@@ -29,7 +29,11 @@ struct termios oldtio;
extern int wcwidth(wchar_t c); extern int wcwidth(wchar_t c);
void insertChar(Command *cmd, char *c, int size); void insertChar(Command *cmd, char *c, int size);
const char *argp_program_version = version; const char *argp_program_version = version;
#ifdef _TD_KH_
const char *argp_program_bug_address = "<support@wellintech.com>";
#else
const char *argp_program_bug_address = "<support@taosdata.com>"; const char *argp_program_bug_address = "<support@taosdata.com>";
#endif
static char doc[] = ""; static char doc[] = "";
static char args_doc[] = ""; static char args_doc[] = "";
static struct argp_option options[] = { static struct argp_option options[] = {
......
...@@ -841,10 +841,17 @@ static void printHelp() { ...@@ -841,10 +841,17 @@ static void printHelp() {
/* printf("%s%s%s%s\n", indent, "-D", indent, /* printf("%s%s%s%s\n", indent, "-D", indent,
"Delete database if exists. 0: no, 1: yes, default is 1"); "Delete database if exists. 0: no, 1: yes, default is 1");
*/ */
#ifdef _TD_KH_
printf("\nMandatory or optional arguments to long options are also mandatory or optional\n\
for any corresponding short options.\n\
\n\
Report bugs to <support@wellintech.com>.\n");
#else
printf("\nMandatory or optional arguments to long options are also mandatory or optional\n\ printf("\nMandatory or optional arguments to long options are also mandatory or optional\n\
for any corresponding short options.\n\ for any corresponding short options.\n\
\n\ \n\
Report bugs to <support@taosdata.com>.\n"); Report bugs to <support@taosdata.com>.\n");
#endif
} }
static bool isStringNumber(char *input) static bool isStringNumber(char *input)
......
...@@ -231,7 +231,12 @@ SDbInfo **g_dbInfos = NULL; ...@@ -231,7 +231,12 @@ SDbInfo **g_dbInfos = NULL;
TableInfo *g_tablesList = NULL; TableInfo *g_tablesList = NULL;
const char *argp_program_version = version; const char *argp_program_version = version;
#ifdef _TD_KH_
const char *argp_program_bug_address = "<support@wellintech.com>";
#else
const char *argp_program_bug_address = "<support@taosdata.com>"; const char *argp_program_bug_address = "<support@taosdata.com>";
#endif
/* Program documentation. */ /* Program documentation. */
static char doc[] = ""; static char doc[] = "";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册