Change in command format: meshtastic --setcan --help --etc

Hello gentlemen, developers!
I’m not sure which section to properly arrange the thread, therefore, here.

In recent days, I have been actively studying and working with the command meshastic interface. I noticed changes in the format of writing commands.
I tried to repeat the commands described in numerous forum threads and I kept getting syntax errors.
The screen is below.

Unfortunately, I did not find anywhere on the site and in the description of the changes in the command format, and therefore I came to the correct form through a long experimental way.

Is it possible to emphasize the new rules for describing the format somewhere?

2021-04-02 18_27_34-Администратор_ C__Windows_System32_cmd.exe

1 Like

heh! The intent was that you would have gotten a message that said the following when you used --setchan.

  --setchan DEPRECATED DEPRECATED
                        Deprecated, use "--ch-set param value" instead
  --set-router          Deprecated, use "--set is_router true" instead
  --unset-router        Deprecated, use "--set is_router false" instead

But setchan has two arguments and the syntax I needed to use was slightly different in that case. Thanks for the bug report. Fixed in the next release:

But using your current version you can pass in --help and get the same list/message.