fix: add websocket in welcome info
This commit is contained in:
parent
1878e2955a
commit
b102a7f497
|
@ -409,7 +409,11 @@ static int32_t shellCheckArgs() {
|
|||
int32_t shellParseArgs(int32_t argc, char *argv[]) {
|
||||
shellInitArgs(argc, argv);
|
||||
shell.info.clientVersion =
|
||||
#ifdef WEBSOCKET
|
||||
"Welcome to the %s Command Line Interface (WebSocket), Client Version:%s\r\n"
|
||||
#else
|
||||
"Welcome to the %s Command Line Interface, Client Version:%s\r\n"
|
||||
#endif
|
||||
"Copyright (c) 2023 by %s, all rights reserved.\r\n\r\n";
|
||||
#ifdef CUS_NAME
|
||||
strcpy(shell.info.cusName, CUS_NAME);
|
||||
|
|
Loading…
Reference in New Issue