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
At this moment, when trying to execute a sysexec command with a syspage program, which is not on the white list we print a message Unknown command. It is misleading, as it suggests to the user, that the command itself does not exist or he/she made a mistake when executing the command. We should change it to for example sysexec: Command not allowed or even explicitly: sysexec: Program micropython not found on the whitelist, whichever you prefer.
The text was updated successfully, but these errors were encountered:
MaciejPurski
changed the title
psh: sysexec: Message shown, when trying to execute a command not from the whitelist is misleading
psh: sysexec: "Unknown command" message is misleading
Aug 5, 2021
At this moment, when trying to execute a
sysexec
command with a syspage program, which is not on the white list we print a messageUnknown command
. It is misleading, as it suggests to the user, that the command itself does not exist or he/she made a mistake when executing the command. We should change it to for examplesysexec: Command not allowed
or even explicitly:sysexec: Program micropython not found on the whitelist
, whichever you prefer.The text was updated successfully, but these errors were encountered: