Commit ff2b226764402e7419f9a6f4e82ccfe4ba735f58

Authored by Etienne Pallier
1 parent 11460a43
Exists in dev

update comment

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/core/pyros_django/agent/Agent.py
... ... @@ -2762,14 +2762,14 @@ class Agent:
2762 2762 '''
2763 2763 Return the list of all specific cmds, with their arguments type (if exists)
2764 2764 - Each cmd is separated with a ';' and presented with this format :
2765   - 'cmd_name(arg1:type,arg2:type,arg3:type...)/tooltip'
  2765 + 'cmd_name(arg1:type|arg2:type|arg3:type...)/tooltip'
2766 2766 - tooltip is the command tooltip description text (it can be empty)
2767 2767 - If cmd is (U)nimplemented, it will be returned as :
2768 2768 'cmd_name(U)/' => tooltip not added in this case
2769 2769 - If cmd is (I)nvalid (misnamed), it will be returned as :
2770 2770 'cmd_name(I)/' => tooltip not added in this case
2771 2771 - Ex:
2772   - 'do_eval(eval_str:str)/;get_status()/;get_state()/;get_mode()/;set_mode(mode:typing.Literal['IDLE', 'ROUTINE', 'ATTENTIVE'])/;do_stop(when:typing.Literal['asap', 'now', 'noprio'])/;do_exec_commands(what:typing.Literal['stop', 'resume', 'noprio'])/;do_stop_current(what:typing.Literal['cmd', 'routine', 'both'])/;do_flush_pending_commands()/;do_restart(when:typing.Literal['asap', 'now', 'noprio'])/;get_all_cmds(noprio:str)/;get_specific_cmds()/;do_cmd_unimplemented_and_declared(U)/;cmd_misnamed_and_declared(I)/;do_cmd_raising_some_exception()/;do_specific10(arg1:int,arg2:int,arg3:float,arg4:str,arg5:typing.Tuple[int, str, int],arg6:typing.List[int])/;do_specific30()/;do_cmd_with_long_exec_time()/A command that takes a long time to exec'
  2772 + "do_eval(eval_str:str)/;get_status()/;get_state()/;get_mode()/;set_mode(mode:typing.Literal['IDLE', 'ROUTINE', 'ATTENTIVE'])/;do_stop(when:typing.Literal['asap', 'now', 'noprio'])/;do_exec_commands(what:typing.Literal['stop', 'resume', 'noprio'])/;do_stop_current(what:typing.Literal['cmd', 'routine', 'both'])/;do_flush_pending_commands()/;do_restart(when:typing.Literal['asap', 'now', 'noprio'])/;get_all_cmds(noprio:str)/;get_specific_cmds()/;do_cmd_unimplemented_and_declared(U)/;cmd_misnamed_and_declared(I)/;do_cmd_raising_some_exception()/;do_specific10(arg1:int|arg2:int|arg3:float|arg4:str|arg5:typing.Tuple[int, str, int]|arg6:typing.List[int])/;do_specific30()/;do_cmd_with_long_exec_time()/A command that takes a long time to exec"
2773 2773 '''
2774 2774  
2775 2775 cmds = ""
... ...