Commit b658b617 authored by Vincent Castellano's avatar Vincent Castellano

progress commit on python support

parent 1b2fb1e1
...@@ -493,6 +493,23 @@ void usage (void) { ...@@ -493,6 +493,23 @@ void usage (void) {
#ifdef USE_JSON #ifdef USE_JSON
printf (" --json prints answers and values in json format\n"); printf (" --json prints answers and values in json format\n");
#endif #endif
#ifdef USE_PYTHON
printf (" -Z python script file\n");
#endif
printf (" -W send dialog_list query and wait for answer before reading input\n");
printf (" -C disable color output\n");
printf (" -R disable readline\n");
printf (" -d daemon mode\n");
printf (" -L <log-name> log file name\n");
printf (" -U <user-name> change uid after start\n");
printf (" -G <group-name> change gid after start\n");
printf (" -D disable output\n");
printf (" -P <port> port to listen for input commands\n");
printf (" -S <socket-name> unix socket to create\n");
printf (" -e <commands> make commands end exit\n");
printf (" -I use user and chat IDs in updates instead of names\n");
printf (" -6 use ipv6 (may be unstable)\n");
exit (1); exit (1);
} }
......
This diff is collapsed.
def on_binlog_replay_end():
pass
def on_get_difference_end():
pass
def on_our_id():
pass
def on_msg_receive(msg):
return "Got msg!"
def on_secret_chat_update(peer, types):
return "on_secret_chat_update"
def on_user_update():
pass
def on_chat_update():
pass
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment