mirror of
https://github.com/ipfs/kubo.git
synced 2025-09-10 05:52:20 +08:00
Merge pull request #2244 from ipfs/feature/capitalize-and-periods
Capitalized beginning of line messages, added periods
This commit is contained in:
@ -35,13 +35,13 @@ at ~/.ipfs. To change the repo location, set the $IPFS_PATH environment variable
|
||||
|
||||
Options: []cmds.Option{
|
||||
cmds.IntOption("bits", "b", fmt.Sprintf("Number of bits to use in the generated RSA private key (defaults to %d)", nBitsForKeypairDefault)),
|
||||
cmds.BoolOption("force", "f", "Overwrite existing config (if it exists)"),
|
||||
cmds.BoolOption("empty-repo", "e", "Don't add and pin help files to the local storage"),
|
||||
cmds.BoolOption("force", "f", "Overwrite existing config (if it exists)."),
|
||||
cmds.BoolOption("empty-repo", "e", "Don't add and pin help files to the local storage."),
|
||||
|
||||
// TODO need to decide whether to expose the override as a file or a
|
||||
// directory. That is: should we allow the user to also specify the
|
||||
// name of the file?
|
||||
// TODO cmds.StringOption("event-logs", "l", "Location for machine-readable event logs"),
|
||||
// TODO cmds.StringOption("event-logs", "l", "Location for machine-readable event logs."),
|
||||
},
|
||||
PreRun: func(req cmds.Request) error {
|
||||
daemonLocked, err := fsrepo.LockedByOtherProcess(req.InvocContext().ConfigRoot)
|
||||
|
Reference in New Issue
Block a user