Skip to content

Commit

Permalink
update readme and a couple comments
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Sep 28, 2014
1 parent 727b6bf commit 68f1a1a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@ cd $GOPATH/src/github.com/jbenet/go-ipfs/cmd/ipfs
go install
```

NOTE: `git` and mercurial (`hg`) are required in order for `go get` to fetch all dependencies.
NOTE: `git` and mercurial (`hg`) are required in order for `go get` to fetch
all dependencies.

If you are interested in development, please install the development dependencies as well.
If you are interested in development, please install the development
dependencies as well.

## Usage

Expand Down Expand Up @@ -46,15 +48,23 @@ Use "ipfs help <command>" for more information about a command.
```

## Getting Started
To start using ipfs, you must first initialize ipfs's config files on your system, this is done with `ipfs init`. See `ipfs help init` for information on arguments it takes. After initialization is complete, you can use `ipfs mount`, `ipfs add` and any of the other commands to explore!
To start using ipfs, you must first initialize ipfs's config files on your
system, this is done with `ipfs init`. See `ipfs help init` for information on
arguments it takes. After initialization is complete, you can use `ipfs mount`,
`ipfs add` and any of the other commands to explore!


NOTE: if you have previously installed ipfs before and you are running into problems getting it to work, try deleting (or backing up somewhere else) your config directory (~/.go-ipfs/config by default) and rerunning `ipfs init`.
NOTE: if you have previously installed ipfs before and you are running into
problems getting it to work, try deleting (or backing up somewhere else) your
config directory (~/.go-ipfs by default) and rerunning `ipfs init`.


## Contributing

go-ipfs is MIT licensed open source software. We welcome contributions big and small! Please make sure to check the [issues](https://github.com/jbenet/go-ipfs/issues). Search the closed ones before reporting things, and help us with the open ones.
go-ipfs is MIT licensed open source software. We welcome contributions big and
small! Please make sure to check the
[issues](https://github.com/jbenet/go-ipfs/issues). Search the closed ones
before reporting things, and help us with the open ones.

Guidelines:

Expand Down
3 changes: 2 additions & 1 deletion cmd/ipfs/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import (

type CommanderFunc func(*commander.Command, []string) error

// Wraps a commands.CmdFunc so that it may be safely run by the commander library
// MakeCommand Wraps a commands.CmdFunc so that it may be safely run by the
// commander library
func MakeCommand(cmdName string, expargs []string, cmdFn commands.CmdFunc) CommanderFunc {
return func(c *commander.Command, inp []string) error {
if len(inp) < 1 {
Expand Down

0 comments on commit 68f1a1a

Please sign in to comment.