Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update help output to reflect required args.#946

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
olleolleolle merged 5 commits intogithub-changelog-generator:masterfromspark-c:docs-optional-args-945
Mar 27, 2021
Merged

Update help output to reflect required args.#946

olleolleolle merged 5 commits intogithub-changelog-generator:masterfromspark-c:docs-optional-args-945
Mar 27, 2021

Conversation

spark-c
Copy link
Contributor

@spark-cspark-c commentedMar 26, 2021
edited by olleolleolle
Loading

This PRfixes#945

Help output messages should now properly reflect whether args are required.
I didn't find any Options which seemed to take optional arguments; they all look like they require args OR require zero args.

Another pair of eyes would be great to double-check!

olleolleolle reacted with heart emoji
Proposed fix for Issue#945Help output messages should now properly reflect whether args are required.I didn't find any Options which seemed to take optional arguments; they all look like they require args OR require zero args.Another pair of eyes would be great to double-check!
@spark-cspark-c marked this pull request as ready for reviewMarch 26, 2021 17:57
Copy link
Collaborator

@olleolleolleolleolleolle left a comment

Choose a reason for hiding this comment

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

Cool, the additional notation looks right.

There are a few documentation files which repeat this info, if you can find them, perhaps in man/ or doc/ or someplace, hunt for it - if you aren't able to get them updated, just say so, and we'll merge this change as a step on the way.

This will change the --help output for the user trying the tool interactively. The man page is for a smaller, discerning audience, who read that stuff. (Same content, hehe.)

Let me know if you are up to looking for how to regenerate or edit those files!

@spark-c
Copy link
ContributorAuthor

Sure thing! I'll do some digging around and get those updated as well.

@spark-c
Copy link
ContributorAuthor

Okay! Not sure how I missed the man/ directory the first time around haha.

The four man files in that directory have now been updated.

.
.P
Define your own set of sections which overrides all default sections\.
.
.P
\-\-add\-sections[HASH, STRING]
\-\-add\-sections HASH, STRING
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe we should investigate this. Me, reading it, can't from the example figure out real quick what I can write here. Is Hash defined anywhere? How do I tell the CLI to enter a hash here? Can I do that in the CLI version?

I understand that this was not introduced by your amazing changes, but perhaps we need to capture this in an Issue.

Copy link
Collaborator

@olleolleolleolleolleolle left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

It improves the quality of the documentation a lot!

@olleolleolle
Copy link
Collaborator

@spark-c Thank you!

@olleolleolleolleolleolle changed the titleUpdated help output to reflect required args.Update help output to reflect required args.Mar 27, 2021
@olleolleolleolleolleolle merged commit8f3f63c intogithub-changelog-generator:masterMar 27, 2021
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@olleolleolleolleolleolleolleolleolle approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Not all options listed in OptionParser have optional arguments
2 participants
@spark-c@olleolleolle

[8]ページ先頭

©2009-2025 Movatter.jp