mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-24 03:05:41 +00:00
refactor(socket) add HELP
This commit is contained in:
parent
fdac6fb121
commit
e02455dc8c
1 changed files with 5 additions and 5 deletions
|
|
@ -17,6 +17,10 @@
|
|||
OnMessageFuncs = [],
|
||||
INFO_LOG_LEVEL = 2,
|
||||
WIN32 = main.WIN32,
|
||||
HELP = {
|
||||
stdout : CLOUDCMD + ' exit \n' +
|
||||
CLOUDCMD + ' update \n',
|
||||
},
|
||||
|
||||
/* windows commands thet require
|
||||
* unicode charset on locales
|
||||
|
|
@ -252,11 +256,7 @@
|
|||
process.exit();
|
||||
}
|
||||
else {
|
||||
lRet = {
|
||||
stdout : CLOUDCMD + ' exit \n' +
|
||||
CLOUDCMD + ' update \n',
|
||||
stderr : null
|
||||
};
|
||||
lRet = HELP;
|
||||
}
|
||||
|
||||
return lRet;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue