Skip to content

mokutil bugfix: del unused opt "-s" #54

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

Merged
merged 1 commit into from
Jun 6, 2022
Merged

mokutil bugfix: del unused opt "-s" #54

merged 1 commit into from
Jun 6, 2022

Conversation

Yusong-Gao
Copy link
Contributor

@Yusong-Gao Yusong-Gao commented May 30, 2022

The -s option can cause unexcepted result.

Signed-off-by: gaoyusong [email protected]

@Yusong-Gao
Copy link
Contributor Author

Yusong-Gao commented May 30, 2022

Reference:
d02bf63

This commit remove "--simple-hash" but not remove "-s" option in getopt_long(),
so when i use command begin with "-s" like "mokutil -state" the unexpected abort happen.

@Yusong-Gao
Copy link
Contributor Author

Yusong-Gao commented May 30, 2022

@lcp @frozencemetery

Copy link
Contributor

@frozencemetery frozencemetery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks fine.

(Typos in commit message: "unused", "unexpected")

The -s option can cause unexcepted result.

Signed-off-by: gaoyusong <[email protected]>
@Yusong-Gao Yusong-Gao changed the title mokutil bugfix: del unuse opt "-s" mokutil bugfix: del unused opt "-s" Jun 2, 2022
@Yusong-Gao
Copy link
Contributor Author

Yusong-Gao commented Jun 2, 2022

Code looks fine.

(Typos in commit message: "unused", "unexpected")

ok, i fix it

@lcp
Copy link
Owner

lcp commented Jun 6, 2022

Good catch. Thanks for the patch.

@lcp lcp merged commit 04791c2 into lcp:master Jun 6, 2022
@lcp
Copy link
Owner

lcp commented Jun 6, 2022

oops. Just found "unexpected" in the commit message wasn't fixed. Anyway, what's done is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants