Common arg_parser utility for coreutils
- Added common arg_parser utility for coreutils.
- Every utility has --help and invalid args handler except for
testandtr. - Fixed basename empty argument error uses stderr instead of stdout.
Thanks!
Due to this touching a large number of files, it may take me a while to work through it and merge.
Thanks to look into it. Mostly it is a replacement of common code in lots of files in same pattern.
If you feel this is too huge change, I can break it down to multiple PRs.
@jackpot51 is this patch worth to resolve conflicts?
Redox moved to GitLab years ago, thus if you still want to merge it, move this pull request to there.
If you still want to contribute to Redox, talk with us in the Matrix chat.
I wish the repository doesn't need to merge this patch anymore. Thank you for notifying.