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

clarification the document of --resolve flag in name.publish #5651

Merged
merged 2 commits into from
Jan 24, 2019

Conversation

kjzz
Copy link
Contributor

@kjzz kjzz commented Oct 26, 2018

fix #5368

License: MIT
Signed-off-by: Kejie Zhang 601172892@qq.com

@kjzz kjzz requested a review from Kubuxu as a code owner October 26, 2018 06:41
@@ -73,7 +73,7 @@ Alternatively, publish an <ipfs-path> using a valid PeerID (as listed by
cmdkit.StringArg(ipfsPathOptionName, true, false, "ipfs path of the object to be published.").EnableStdin(),
},
Options: []cmdkit.Option{
cmdkit.BoolOption(resolveOptionName, "Resolve given path before publishing.").WithDefault(true),
cmdkit.BoolOption(resolveOptionName, "Check the given path whether can be resolved before publishing. <<default>>").WithDefault(true),
Copy link
Member

Choose a reason for hiding this comment

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

"Check if the given path can be resolved before publishing"

@kjzz
Copy link
Contributor Author

kjzz commented Oct 30, 2018

Update.

@@ -73,7 +73,7 @@ Alternatively, publish an <ipfs-path> using a valid PeerID (as listed by
cmdkit.StringArg(ipfsPathOptionName, true, false, "ipfs path of the object to be published.").EnableStdin(),
},
Options: []cmdkit.Option{
cmdkit.BoolOption(resolveOptionName, "Resolve given path before publishing.").WithDefault(true),
cmdkit.BoolOption(resolveOptionName, "Check if the given path can be resolved before publishing. <<default>>").WithDefault(true),
Copy link
Member

Choose a reason for hiding this comment

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

Don't need the '<>', since the cmds lib appends this automatically

@ghost ghost assigned Stebalien Jan 24, 2019
@ghost ghost added the status/in-progress In progress label Jan 24, 2019
kjzz and others added 2 commits January 24, 2019 13:36
License: MIT
Signed-off-by: Kejie Zhang <601172892@qq.com>
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
@Stebalien Stebalien merged commit ca77ecc into ipfs:master Jan 24, 2019
@ghost ghost removed the status/in-progress In progress label Jan 24, 2019
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.

Clarification needed for name.publish --resolve flag
4 participants