cleanup requested from review by @melekes

This commit is contained in:
Emmanuel Odeke
2017-12-16 15:49:38 -07:00
parent 5ea42475ce
commit e3d244091d
2 changed files with 3 additions and 9 deletions
+1 -7
View File
@@ -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:]