You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[sn:e1] set force_off
usage: debug_cli.py [-h] var data [data ...]
Encountered a parse error: debug_cli.py: error: the following arguments are required: data
[sn:e1] set force_open
usage: debug_cli.py [-h] var data [data ...]
Encountered a parse error: debug_cli.py: error: the following arguments are required: data
Expected state/behaviour
These commands should run exactly as written.
How do you know it is wrong
These commands do not require an additional parameter, and they used to work prior to #1290
Starting points
You can compare the code for the do_set function in the above-mentioned PR to see what the logic was prior to the changes that broke this functionality. The way the parser is set up for this sub-command does not respect the original logic that makes the data parameter optional.
The text was updated successfully, but these errors were encountered:
Current behaviour/situation
Expected state/behaviour
These commands should run exactly as written.
How do you know it is wrong
These commands do not require an additional parameter, and they used to work prior to #1290
Starting points
You can compare the code for the
do_set
function in the above-mentioned PR to see what the logic was prior to the changes that broke this functionality. The way the parser is set up for this sub-command does not respect the original logic that makes thedata
parameter optional.The text was updated successfully, but these errors were encountered: