aboutsummaryrefslogtreecommitdiff
path: root/commands/prompt.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/prompt.go')
-rw-r--r--commands/prompt.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/prompt.go b/commands/prompt.go
index 3734881..fe152c8 100644
--- a/commands/prompt.go
+++ b/commands/prompt.go
@@ -13,15 +13,15 @@ func init() {
register(Prompt{})
}
-func (_ Prompt) Aliases() []string {
+func (Prompt) Aliases() []string {
return []string{"prompt"}
}
-func (_ Prompt) Complete(aerc *widgets.Aerc, args []string) []string {
+func (Prompt) Complete(aerc *widgets.Aerc, args []string) []string {
return nil // TODO: add completions
}
-func (_ Prompt) Execute(aerc *widgets.Aerc, args []string) error {
+func (Prompt) Execute(aerc *widgets.Aerc, args []string) error {
if len(args) < 3 {
return errors.New(fmt.Sprintf("Usage: %s <prompt> <cmd>", args[0]))
}