-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Document global options #2583
Comments
I think that global options should probably be printed for every commands |
This should also apply for Also, I think 'encoding'? |
But aren't they "supposed" to be specified before the subcommands? e.g.: |
@Stebalien, what's the diff for your edit? obviously I have no recollection of writing the response. |
Adding a newline between the quote and your comment, IIRC. |
timeout
is a global option that can be passed to the CLI and to the HTTP API. It is referenced in a few places, like inipfs diag net --help
, but it isn't clear there that it is global, and it may seem that it is only relevant for those subcommands (likediag net
). There should be a mention of global options, somewhere in the CLI man (and in the HTTP API docs, but we can get to that later).The obvious place would be at the bottom of
ipfs --help
. What do you think?The text was updated successfully, but these errors were encountered: