RTEMS | libmisc/shell: Add -a to print all vars in the shell getenv command (!1241)
Kinsey Moore (@opticron)
gitlab at rtems.org
Thu May 14 14:03:35 UTC 2026
Kinsey Moore started a new discussion on cpukit/libmisc/shell/main_getenv.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1241#note_150068
>
> if (argc != 2)
> {
> - printf ("error: only argument is the variable name\n");
> + printf ("error: -a or the variable name\n");
This is a bit unclear as an error message. Perhaps `error: available arguments are "-a" or a variable name` would be better?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1241#note_150068
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260514/35fe9b94/attachment.htm>
More information about the bugs
mailing list