-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
Minor updates related to documentation for commands and more osnadmin updates #2318
Conversation
This change returns an error from `executeForArgs` when the command line cannot be parsed. Without this change, tests that use the function quietly exit without a clear indication as to why. Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
@@ -595,7 +595,7 @@ also outputs which organizations have approved the chaincode definition. If an | |||
organization has approved the chaincode definition specified in the command, the | |||
command will return a value of true. You can use this command to learn whether enough | |||
channel members have approved a chaincode definition to meet the | |||
`/Channel/Application/Endorsement` policy (a majority by default) before the |
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.
Did you remove this with a batch search-replace?
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.
It's related because it's the output of the automated doc generation for command help. It's clear that commands have been getting updated without regenerating the docs. The regen of the docs was explicitly called out in the commit message.
In this case, commit 49ed882 changed the postscript without updating docs.
In this case, 5df63f1 changed the generated doc instead of the postscript. That change was incorrect.
- Change the generateHelpDocs script to remove trailing spaces from the generated help text. This prevents linting failures from check_trailingspaces.sh - Remove trailing space from osnadmin_channel_postscript.md - Regenerate the help docs with `make help-docs` Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
Signed-off-by: Matthew Sykes <sykesmat@us.ibm.com>
9958657
to
c180630
Compare
@sykesm OK to mergifyio this back to the 2.3 branch? |
I think it's better to do it manually. I can do that if you want. |
channel-id
that was included in the osnadmin command help