diff --git a/mccli.py b/mccli.py index 59860e6..a6ba012 100755 --- a/mccli.py +++ b/mccli.py @@ -632,32 +632,32 @@ def usage () : -b : specify baudrate Available Commands and shorcuts (can be chained) : - infos : print informations about the node i - reboot : reboots node - send : sends msg to node with pubkey starting by key - sendto : sends msg to node with given name - msg : same as sendto m - wait_ack : wait an ack for last sent msg wa - recv : reads next msg r - sync_msgs : gets all unread msgs from the node sm - wait_msg : wait for a message and read it wm - advert : sends advert a - contacts : gets contact list lc - share_contact : share a contact with others sc - remove_contact : removes a contact from this node - reset_path : resets path to a contact to flood rp - change_path : change the path to a contact cp - get_time : gets current time - set_time : sets time to given epoch - sync_time : sync time with system - set_name : sets node name - get_bat : gets battery level b - login : log into a node (repeater) with given pwd l - wait_login : wait for login (timeouts after 5sec) wl - cmd : sends a command to a repeater (no ack) c - req_status : requests status from a node rs - wait_status : wait and print reply ws - sleep : sleeps for a given amount of secs s""") + infos : print informations about the node i + reboot : reboots node + send : sends msg to node using pubkey[0:6] + sendto : sends msg to node with given name + msg : same as sendto m + wait_ack : wait an ack for last sent msg wa + recv : reads next msg r + sync_msgs : gets all unread msgs from the node sm + wait_msg : wait for a message and read it wm + advert : sends advert a + contacts : gets contact list lc + share_contact : share a contact with others sc + remove_contact : removes a contact from this node + reset_path : resets path to a contact to flood rp + change_path : change the path to a contact cp + get_time : gets current time + set_time : sets time to given epoch + sync_time : sync time with system + set_name : sets node name + get_bat : gets battery level b + login : log into a node (rep) with given pwd l + wait_login : wait for login (timeouts after 5sec) wl + cmd : sends a command to a repeater (no ack) c + req_status : requests status from a node rs + wait_status : wait and print reply ws + sleep : sleeps for a given amount of secs s""") async def main(argv): """ Do the job """