diff --git a/interface.c b/interface.c index 64b86da..8b4f5ff 100644 --- a/interface.c +++ b/interface.c @@ -1365,7 +1365,7 @@ struct command commands[MAX_COMMANDS_SIZE] = { {"send_text", {ca_peer, ca_file_name_end, ca_none}, do_send_text, "send_text \tSends contents of text file as plain text message", NULL}, {"send_typing", {ca_peer, ca_none}, do_send_typing, "send_typing \tSends typing notification", NULL}, {"send_typing_abort", {ca_peer, ca_none}, do_send_typing_abort, "send_typing \tSends typing notification abort", NULL}, - {"send_video", {ca_peer, ca_file_name, ca_string | ca_optional, ca_none}, do_send_video, "send_video [caption]\tSends video to peer", NULL}, + {"send_video", {ca_peer, ca_file_name, ca_string_end | ca_optional, ca_none}, do_send_video, "send_video [caption]\tSends video to peer", NULL}, {"set", {ca_string, ca_number, ca_none}, do_set, "set \tSets value of param. Currently available: log_level, debug_verbosity, alarm, msg_num", NULL}, {"set_password", {ca_string | ca_optional, ca_none}, do_set_password, "set_password \tSets password", NULL}, {"set_profile_name", {ca_string, ca_string, ca_none}, do_set_profile_name, "set_profile_name \tSets profile name.", NULL},