You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "pussuw (via GitHub)" <gi...@apache.org> on 2023/09/25 08:26:19 UTC
[GitHub] [nuttx-apps] pussuw opened a new pull request, #2095: nsh_alias.c: unalias -a command does not work correctly
pussuw opened a new pull request, #2095:
URL: https://github.com/apache/nuttx-apps/pull/2095
## Summary
getopt returns the argument if it is found, so testing against != ERROR is wrong. Testing against 'a' in this case is correct (no other
arguments are possible)
## Impact
Fix trivial bug in alias handling (remove all aliases command)
## Testing
unalias -a works
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [nuttx-apps] xiaoxiang781216 merged pull request #2095: nsh_alias.c: unalias -a command does not work correctly
Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #2095:
URL: https://github.com/apache/nuttx-apps/pull/2095
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org