-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add support for -h/--help arg #102
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh sorry, I put in a mistake in my recommendation. Can you please fix it, add a CHANGELOG entry and squash all of it into one commit please?
Signed-off-by: Haobo Gu <haobogu@outlook.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution and thank you for bearing with me 😉
When use
flip-link
directly from command line, now flip-link returns an error code 1:It's inconvenient when we want to just test whether flip-link exists. In my case, I use
cargo-make
to automate the build workflow, it checksflip-link
command's return code to determine whether to install the crate, so it will re-install flip-link everytime even though flip-link has been installed.This PR adds
-h
/--help
argument. When user executesflip-link -h
orflip-link --help
orflip-link
in command line, flip-link now returns: