diff options
Diffstat (limited to 'commands/compose/detach.go')
-rw-r--r-- | commands/compose/detach.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/compose/detach.go b/commands/compose/detach.go index e700ab60..dc70ff97 100644 --- a/commands/compose/detach.go +++ b/commands/compose/detach.go @@ -14,17 +14,17 @@ func init() { register(Detach{}) } -func (_ Detach) Aliases() []string { +func (Detach) Aliases() []string { return []string{"detach"} } -func (_ Detach) Complete(aerc *widgets.Aerc, args []string) []string { +func (Detach) Complete(aerc *widgets.Aerc, args []string) []string { composer, _ := aerc.SelectedTab().(*widgets.Composer) return composer.GetAttachments() } -func (_ Detach) Execute(aerc *widgets.Aerc, args []string) error { +func (Detach) Execute(aerc *widgets.Aerc, args []string) error { var path string composer, _ := aerc.SelectedTab().(*widgets.Composer) |