Navigation Menu

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

Port to clap-rs #30

Merged
merged 1 commit into from Feb 9, 2018
Merged

Port to clap-rs #30

merged 1 commit into from Feb 9, 2018

Conversation

MggMuggins
Copy link
Contributor

@MggMuggins MggMuggins commented Feb 9, 2018

I did a number of things here:

the *add, *mod, and *del utilities, as well as id recieved substantial
changes, probably what you'd call a rewrite. This was of course using
clap-rs. These should all be very stable at this point (except
unimplemented features in usermod, grr)

getty, passwd, and su are simply ported, using clap for arg parsing. I
didn't change any of the logic, just swapped ArgParser for clap.

Fixed a bug with passwd and unset passwords

I'll open issues about the ones I didn't mention.

Solves #29

I did a number of things here:

the *add, *mod, and *del utilities, as well as id recieved substantial
changes, probably what you'd call a rewrite. This was of course using
clap-rs. These should all be very stable at this point (except
unimplemented features in usermod, grr)

getty, passwd, and su are simply ported, using clap for arg parsing. I
didn't change any of the logic, just swapped ArgParser for clap.

Fixed a bug with passwd and unset passwords

I'll open issues about the ones I didn't mention.
@jackpot51
Copy link
Member

This looks pretty good - I will merge

@jackpot51 jackpot51 merged commit a190dd5 into redox-os:master Feb 9, 2018
@MggMuggins
Copy link
Contributor Author

Thanks! I mostly tested it. I will try to write a test suite sometime (must run on redox, as root probably), that way we can make sure everything works as expected all the time.

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