1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-10-12 09:15:03 +08:00

check arguments after handling help

otherwise, we block on required arguments from stdin before processing the help
flag.

fixes #4837

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
This commit is contained in:
Steven Allen
2018-03-19 15:58:34 -07:00
parent 4bdbe1a993
commit 7824c2cf4e
28 changed files with 32 additions and 32 deletions

View File

@ -13,8 +13,8 @@ import (
e "github.com/ipfs/go-ipfs/core/commands/e"
cmds "gx/ipfs/QmSBXjZJCTmRSLXzXr4duHKzWfgDX8aJ6XuPXCQZuVU1LP/go-ipfs-cmds"
"gx/ipfs/QmceUdzxkimdYsgtX733uNgzf1DLHyBKN6ehGSp85ayppM/go-ipfs-cmdkit"
cmds "gx/ipfs/QmfAkMSt9Fwzk48QDJecPcwCUjnf2uG7MLnmCGTp4C6ouL/go-ipfs-cmds"
)
type commandEncoder struct {