mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-18 22:14:35 +00:00
cleanup requested from review by @melekes
This commit is contained in:
@@ -387,15 +387,9 @@ func cmdConsole(cmd *cobra.Command, args []string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
var (
|
||||
errBadPersistentArgs = errors.New("expecting persistent args of the form: abci-cli [command] <...>")
|
||||
|
||||
errUnimplemented = errors.New("unimplemented")
|
||||
)
|
||||
|
||||
func muxOnCommands(cmd *cobra.Command, pArgs []string) error {
|
||||
if len(pArgs) < 2 {
|
||||
return errBadPersistentArgs
|
||||
return errors.New("expecting persistent args of the form: abci-cli [command] <...>")
|
||||
}
|
||||
subCommand, actualArgs := pArgs[1], pArgs[2:]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user