From 6838c23478944a9b45df1fa9a0f432ec77423987 Mon Sep 17 00:00:00 2001 From: Wagner Riffel Date: Tue, 3 Sep 2019 16:34:03 -0300 Subject: all: purge redundant underscores Signed-off-by: Wagner Riffel --- commands/exec.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'commands/exec.go') diff --git a/commands/exec.go b/commands/exec.go index 27edf5d..f615b71 100644 --- a/commands/exec.go +++ b/commands/exec.go @@ -17,15 +17,15 @@ func init() { register(ExecCmd{}) } -func (_ ExecCmd) Aliases() []string { +func (ExecCmd) Aliases() []string { return []string{"exec"} } -func (_ ExecCmd) Complete(aerc *widgets.Aerc, args []string) []string { +func (ExecCmd) Complete(aerc *widgets.Aerc, args []string) []string { return nil } -func (_ ExecCmd) Execute(aerc *widgets.Aerc, args []string) error { +func (ExecCmd) Execute(aerc *widgets.Aerc, args []string) error { if len(args) < 2 { return errors.New("Usage: exec [cmd...]") } -- cgit v1.2.3