Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

psh: sysexec: "Unknown command" message is misleading #83

Open
MaciejPurski opened this issue Aug 5, 2021 · 0 comments
Open

psh: sysexec: "Unknown command" message is misleading #83

MaciejPurski opened this issue Aug 5, 2021 · 0 comments
Assignees

Comments

@MaciejPurski
Copy link
Contributor

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.

@MaciejPurski 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants