Suggest use of ipfs daemon in mount help message

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Add missing 'mount' in mount synopsis

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
implement ipfs id in the new commands library
fix variable naming
commands: Check for option errors when constructing Requests
commands: Improved option conversin error message
commands: Fixed tests
commands: NewRequest: Documented error case
deps(go-datastore) update

This commit updates go-datastore in order to access new LevelDb Close()
method

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
refactor(errors) debugerror -> errors

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
feat(util) FileExists

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
fix(daemon) if lock file does not exist, then the lock is not acquired

@mappum @jbenet LGTU?

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
deps(eventlog) no need to augment Logger

allow framework to add level to log so level can be applied when using
text formatter

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
refactor(eventlog) use polite formatter as a direct dependency

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
fix(core) tear-down leveldb

@jbenet @whyrusleeping @mappum

If we permit initialization in `ipfs daemon`, then we must ensure that
the node instantiated in `ipfs init` (to create the welcome file) shuts
down and releases resources.

Kept running into "resource temporarily unavailable". Discovered that it
was our cousins Jeff and Sanjay over at LevelDB Ave.

go-datastore doesn't expose Close() so I extended the TsDs interface and
submitted a patch.

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

Signed-off-by: Brian Tiger Chow <brian.holderchow@gmail.com>
Merge pull request #356 from jbenet/fix/option-cast

Fix Option Validation
address comments from PR
fix tabbing
Remove 'SYNOPSIS' from short help text

It takes some space and it looks like it
applies to the description too.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Merge pull request #354 from chriscool/improve_help_messages

Improve help messages