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

Revisited su. #11

Merged
merged 1 commit into from Jul 26, 2017
Merged

Revisited su. #11

merged 1 commit into from Jul 26, 2017

Conversation

goyox86
Copy link
Contributor

@goyox86 goyox86 commented Jul 26, 2017

Details

  • Moved cmd line args parsing to ArgParser.
  • All the calls to panic! were replaced by calls to fail.
  • Revisited synopsis in the docs.
  • Using try where possible.
  • Using Passwd::parse_file instead of doing it manually.
  • Handled errors while parsing passwd file.
  • Added some constants.

Details

- Moved cmd line args parsing to `ArgParser`.
- All the calls to `panic!` were replaced by calls to `fail`.
- Revisited synopsis in the docs.
- Using `try` where possible.
- Using `Passwd::parse_file` instead of doing it manually.
- Handled errors while parsing passwd file.
- Added some constants.
@jackpot51 jackpot51 merged commit 7cdd6c7 into redox-os:master Jul 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants