y_socket: add cleanup in usage cmdl

This commit is contained in:
2025-10-18 22:51:52 +02:00
parent 492edebdee
commit fb110e77a5
@@ -172,6 +172,7 @@ void usage_cmdl(){
"\tor other to send cmd to all nodes excluding local address in the list.\n" "\tor other to send cmd to all nodes excluding local address in the list.\n"
"command: \n" "command: \n"
"\tupdate kill: to gracefully shutdown socket server.\n" "\tupdate kill: to gracefully shutdown socket server.\n"
"\tupdate cleanup: to free m_headers lists.\n"
"\tupdate standby: to suspend all workers, but can receive all task but in queu tasks.\n" "\tupdate standby: to suspend all workers, but can receive all task but in queu tasks.\n"
"\tupdate wakeup: to wakeup all workers, and then execute all tasks in queu.\n" "\tupdate wakeup: to wakeup all workers, and then execute all tasks in queu.\n"
"\tupdate remove node [addr]: to remove [addr] in the list.\n" "\tupdate remove node [addr]: to remove [addr] in the list.\n"