From b2628023d8a3631a9875d11011cfeb645030b688 Mon Sep 17 00:00:00 2001 From: Richard Littauer Date: Tue, 28 Jun 2016 10:49:09 +0100 Subject: [PATCH] Added note about exit status codes How does this look? See #2293 License: MIT Signed-off-by: Richard Littauer --- core/commands/root.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/commands/root.go b/core/commands/root.go index 29892ab0fbfa..45fa0f1f87bd 100644 --- a/core/commands/root.go +++ b/core/commands/root.go @@ -66,6 +66,13 @@ ipfs uses a repository in the local file system. By default, the repo is located at ~/.ipfs. To change the repo location, set the $IPFS_PATH environment variable: export IPFS_PATH=/path/to/ipfsrepo + +EXIT STATUS + +The CLI will exits with one of the following values: + +0 Successful execution. +1 Failed executions. `, }, Options: []cmds.Option{