diff options
Diffstat (limited to 'commands/msg')
| -rw-r--r-- | commands/msg/archive.go | 6 | ||||
| -rw-r--r-- | commands/msg/copy.go | 6 | ||||
| -rw-r--r-- | commands/msg/delete.go | 6 | ||||
| -rw-r--r-- | commands/msg/forward.go | 6 | ||||
| -rw-r--r-- | commands/msg/move.go | 6 | ||||
| -rw-r--r-- | commands/msg/pipe.go | 6 | ||||
| -rw-r--r-- | commands/msg/read.go | 6 | ||||
| -rw-r--r-- | commands/msg/reply.go | 6 | 
8 files changed, 24 insertions, 24 deletions
| diff --git a/commands/msg/archive.go b/commands/msg/archive.go index 63d6de0..6bf231d 100644 --- a/commands/msg/archive.go +++ b/commands/msg/archive.go @@ -24,15 +24,15 @@ func init() {  	register(Archive{})  } -func (_ Archive) Aliases() []string { +func (Archive) Aliases() []string {  	return []string{"archive"}  } -func (_ Archive) Complete(aerc *widgets.Aerc, args []string) []string { +func (Archive) Complete(aerc *widgets.Aerc, args []string) []string {  	return nil  } -func (_ Archive) Execute(aerc *widgets.Aerc, args []string) error { +func (Archive) Execute(aerc *widgets.Aerc, args []string) error {  	if len(args) != 2 {  		return errors.New("Usage: archive <flat|year|month>")  	} diff --git a/commands/msg/copy.go b/commands/msg/copy.go index 8056e38..398beae 100644 --- a/commands/msg/copy.go +++ b/commands/msg/copy.go @@ -17,15 +17,15 @@ func init() {  	register(Copy{})  } -func (_ Copy) Aliases() []string { +func (Copy) Aliases() []string {  	return []string{"cp", "copy"}  } -func (_ Copy) Complete(aerc *widgets.Aerc, args []string) []string { +func (Copy) Complete(aerc *widgets.Aerc, args []string) []string {  	return nil  } -func (_ Copy) Execute(aerc *widgets.Aerc, args []string) error { +func (Copy) Execute(aerc *widgets.Aerc, args []string) error {  	opts, optind, err := getopt.Getopts(args, "p")  	if err != nil {  		return err diff --git a/commands/msg/delete.go b/commands/msg/delete.go index 06cef9c..677ea63 100644 --- a/commands/msg/delete.go +++ b/commands/msg/delete.go @@ -16,15 +16,15 @@ func init() {  	register(Delete{})  } -func (_ Delete) Aliases() []string { +func (Delete) Aliases() []string {  	return []string{"delete", "delete-message"}  } -func (_ Delete) Complete(aerc *widgets.Aerc, args []string) []string { +func (Delete) Complete(aerc *widgets.Aerc, args []string) []string {  	return nil  } -func (_ Delete) Execute(aerc *widgets.Aerc, args []string) error { +func (Delete) Execute(aerc *widgets.Aerc, args []string) error {  	if len(args) != 1 {  		return errors.New("Usage: :delete")  	} diff --git a/commands/msg/forward.go b/commands/msg/forward.go index 7f23a0a..b925a49 100644 --- a/commands/msg/forward.go +++ b/commands/msg/forward.go @@ -23,15 +23,15 @@ func init() {  	register(forward{})  } -func (_ forward) Aliases() []string { +func (forward) Aliases() []string {  	return []string{"forward"}  } -func (_ forward) Complete(aerc *widgets.Aerc, args []string) []string { +func (forward) Complete(aerc *widgets.Aerc, args []string) []string {  	return nil  } -func (_ forward) Execute(aerc *widgets.Aerc, args []string) error { +func (forward) Execute(aerc *widgets.Aerc, args []string) error {  	opts, optind, err := getopt.Getopts(args, "A")  	if err != nil {  		return err diff --git a/commands/msg/move.go b/commands/msg/move.go index b7d52ff..2f8c61e 100644 --- a/commands/msg/move.go +++ b/commands/msg/move.go @@ -18,15 +18,15 @@ func init() {  	register(Move{})  } -func (_ Move) Aliases() []string { +func (Move) Aliases() []string {  	return []string{"mv", "move"}  } -func (_ Move) Complete(aerc *widgets.Aerc, args []string) []string { +func (Move) Complete(aerc *widgets.Aerc, args []string) []string {  	return commands.GetFolders(aerc, args)  } -func (_ Move) Execute(aerc *widgets.Aerc, args []string) error { +func (Move) Execute(aerc *widgets.Aerc, args []string) error {  	opts, optind, err := getopt.Getopts(args, "p")  	if err != nil {  		return err diff --git a/commands/msg/pipe.go b/commands/msg/pipe.go index 77e5d96..2faa5de 100644 --- a/commands/msg/pipe.go +++ b/commands/msg/pipe.go @@ -23,15 +23,15 @@ func init() {  	register(Pipe{})  } -func (_ Pipe) Aliases() []string { +func (Pipe) Aliases() []string {  	return []string{"pipe"}  } -func (_ Pipe) Complete(aerc *widgets.Aerc, args []string) []string { +func (Pipe) Complete(aerc *widgets.Aerc, args []string) []string {  	return nil  } -func (_ Pipe) Execute(aerc *widgets.Aerc, args []string) error { +func (Pipe) Execute(aerc *widgets.Aerc, args []string) error {  	var (  		background bool  		pipeFull   bool diff --git a/commands/msg/read.go b/commands/msg/read.go index 3497ef1..0da664b 100644 --- a/commands/msg/read.go +++ b/commands/msg/read.go @@ -19,15 +19,15 @@ func init() {  	register(Read{})  } -func (_ Read) Aliases() []string { +func (Read) Aliases() []string {  	return []string{"read", "unread"}  } -func (_ Read) Complete(aerc *widgets.Aerc, args []string) []string { +func (Read) Complete(aerc *widgets.Aerc, args []string) []string {  	return nil  } -func (_ Read) Execute(aerc *widgets.Aerc, args []string) error { +func (Read) Execute(aerc *widgets.Aerc, args []string) error {  	opts, optind, err := getopt.Getopts(args, "t")  	if err != nil {  		return err diff --git a/commands/msg/reply.go b/commands/msg/reply.go index bab16e1..34d03d5 100644 --- a/commands/msg/reply.go +++ b/commands/msg/reply.go @@ -23,15 +23,15 @@ func init() {  	register(reply{})  } -func (_ reply) Aliases() []string { +func (reply) Aliases() []string {  	return []string{"reply"}  } -func (_ reply) Complete(aerc *widgets.Aerc, args []string) []string { +func (reply) Complete(aerc *widgets.Aerc, args []string) []string {  	return nil  } -func (_ reply) Execute(aerc *widgets.Aerc, args []string) error { +func (reply) Execute(aerc *widgets.Aerc, args []string) error {  	opts, optind, err := getopt.Getopts(args, "aq")  	if err != nil {  		return err | 
