diff --git a/y_socket_t/src/y_socket_t/y_list_var_tool.c b/y_socket_t/src/y_socket_t/y_list_var_tool.c index 7fcc82c..4db71f2 100644 --- a/y_socket_t/src/y_socket_t/y_list_var_tool.c +++ b/y_socket_t/src/y_socket_t/y_list_var_tool.c @@ -175,10 +175,15 @@ void usage_cmdl(){ "\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 wakeup: to wakeup all workers, and then execute all tasks in queu.\n" + "\tpipe: to pipe string after header to destination:\n" + "\t\teg: sendto 192.168.1.142 { \"cmd\" : \"pipe\" }sendto 192.168.1.250 { \"cmd\" : \"get file SOME_FILE_LOCAL\" }\n" + "\t\tIt is equivalent to type: sendto 192.168.1.250 { \"cmd\" : \"get file SOME_FILE_LOCAL\" }\n\t\tin node 192.168.1.142.\n" "\tupdate remove node [addr]: to remove [addr] in the list.\n" "\tupdate add node [addr]: to add [addr] in the list.\n" "\tget file [filename]: to ask server to send file named [filename].\n" "\t\tfilename can be absolute path or relative working directory path\n" + "\t\teg: sendto 192.168.1.142 { \"cmd\" : \"get file FILENAME\" }\n" + "\t\twe can specify destination directory eg: sendto 192.168.1.142 { \"cmd\" : \"get file FILENAME\" , \"dst_dir\" : \"DIRECTORY_NEW_OR_ALREADY_EXISTS\" }\n" "\tpost file [filename] : to send file [filename] after header.\n" "\t\tNeed to add \"seq\" and \"tm\" keys to have good handling, the payload is after the header {}\n" "\t\tSee y_socket_send_file_for_node function.\n"