Skip to content

Commit

Permalink
cmd: improve help text for unknown commands
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi committed Nov 5, 2018
1 parent bac8d02 commit 02f559b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Expand Up @@ -65,7 +65,7 @@ func main() {
runCTL(*configPath, *devMode, args[1:])
return
default:
fatal("unknown command", strings.Join(args[0:], " "))
fatal(fmt.Sprintf("unknown command %s - run 'ipfs-orchestrator --help' for documentation", strings.Join(args[0:], " ")))
return
}
} else {
Expand Down

0 comments on commit 02f559b

Please sign in to comment.