mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-01 19:01:34 +08:00
fixes from PR
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
@ -76,6 +76,11 @@ dependencies as well.
|
|||||||
* Shell command completion is available in `misc/completion/ipfs-completion.bash`. Read [docs/command-completion.md](docs/command-completion.md) to learn how to install it.
|
* Shell command completion is available in `misc/completion/ipfs-completion.bash`. Read [docs/command-completion.md](docs/command-completion.md) to learn how to install it.
|
||||||
* See the [init examples](https://github.com/ipfs/examples/tree/master/examples/init) for how to connect IPFS to systemd or whatever init system your distro uses.
|
* See the [init examples](https://github.com/ipfs/examples/tree/master/examples/init) for how to connect IPFS to systemd or whatever init system your distro uses.
|
||||||
|
|
||||||
|
### Updating
|
||||||
|
ipfs has an updating tool that can be accessed through `ipfs update`. The tool is
|
||||||
|
not installed alongside ipfs in order to keep that logic indepedent of the main
|
||||||
|
codebase. To install ipfs update, either [download it here](https://gobuilder.me/github.com/ipfs/ipfs-update)
|
||||||
|
or install it from source with `go get -u github.com/ipfs/ipfs-update`.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
@ -284,7 +284,7 @@ func ExternalBinary() *Command {
|
|||||||
if req.Arguments()[0] == "--help" {
|
if req.Arguments()[0] == "--help" {
|
||||||
buf := new(bytes.Buffer)
|
buf := new(bytes.Buffer)
|
||||||
fmt.Fprintf(buf, "%s is an 'external' command.\n", binname)
|
fmt.Fprintf(buf, "%s is an 'external' command.\n", binname)
|
||||||
fmt.Fprintf(buf, "it does not currently appear to be installated.\n")
|
fmt.Fprintf(buf, "it does not currently appear to be installed.\n")
|
||||||
fmt.Fprintf(buf, "please refer to the ipfs documentation for instructions\n")
|
fmt.Fprintf(buf, "please refer to the ipfs documentation for instructions\n")
|
||||||
res.SetOutput(buf)
|
res.SetOutput(buf)
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user