fix: version3 information

This commit is contained in:
Alex Duan 2024-03-14 10:09:23 +08:00
parent f90ba610af
commit 61ce6602d8
1 changed files with 17 additions and 17 deletions

View File

@ -410,30 +410,30 @@ void printfIntroduction(bool community) {
printf(" "); printf(" ");
} }
printf("*\n"); printf("*\n");
printf(" * including database names, table names, function names and keywords. *\n"); printf(" * including database names, table names, function names and keywords. *\n");
printf(" * The full list of shortcut keys is as follows: *\n"); printf(" * The full list of shortcut keys is as follows: *\n");
printf(" * [ TAB ] ...... complete the current word *\n"); printf(" * [ TAB ] ...... complete the current word *\n");
printf(" * ...... if used on a blank line, display all supported commands *\n"); printf(" * ...... if used on a blank line, display all supported commands *\n");
printf(" * [ Ctrl + A ] ...... move cursor to the st[A]rt of the line *\n"); printf(" * [ Ctrl + A ] ...... move cursor to the st[A]rt of the line *\n");
printf(" * [ Ctrl + E ] ...... move cursor to the [E]nd of the line *\n"); printf(" * [ Ctrl + E ] ...... move cursor to the [E]nd of the line *\n");
printf(" * [ Ctrl + W ] ...... move cursor to the middle of the line *\n"); printf(" * [ Ctrl + W ] ...... move cursor to the middle of the line *\n");
printf(" * [ Ctrl + L ] ...... clear the entire screen *\n"); printf(" * [ Ctrl + L ] ...... clear the entire screen *\n");
printf(" * [ Ctrl + K ] ...... clear the screen after the cursor *\n"); printf(" * [ Ctrl + K ] ...... clear the screen after the cursor *\n");
printf(" * [ Ctrl + U ] ...... clear the screen before the cursor *\n"); printf(" * [ Ctrl + U ] ...... clear the screen before the cursor *\n");
if(community) { if(community) {
printf(" * ---------------------------------------------------------------------------------- *\n"); printf(" * ----------------------------------------------------------------------------------- *\n");
printf(" * You are using TDengine OSS. To experience more advanced features and receive *\n"); printf(" * You are using TDengine OSS. To experience advanced features, like backup/restore, *\n");
printf(" * professional technical support, try TDengine Enterprise or Cloud, *\n"); printf(" * privilege control and more, or receive 7x24 technical support, try TDengine *\n");
printf(" * learn more at https://tdengine.com *\n"); printf(" * Enterprise or Free Cloud Trial. Learn more at https://tdengine.com *\n");
} }
printf(" **************************************************************************************\n\n"); printf(" **************************************************************************************\n\n");
} }
// show enterprise AD // show enterprise AD
void showAD(bool end) { void showAD(bool end) {
printf(" You are using TDengine OSS. To experience more advanced features and receive \n"); printf(" You are using TDengine OSS. To experience advanced features, like backup/restore, \n");
printf(" professional technical support, try TDengine Enterprise or Cloud, \n"); printf(" privilege control and more, or receive 7x24 technical support, try TDengine \n");
printf(" learn more at https://tdengine.com \n"); printf(" Enterprise or Free Cloud Trial. Learn more at https://tdengine.com \n");
printf(" \n"); printf(" \n");
} }