diff options
Diffstat (limited to 'commands/pin-tab.go')
-rw-r--r-- | commands/pin-tab.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/commands/pin-tab.go b/commands/pin-tab.go index 9a626614..ffbd64bb 100644 --- a/commands/pin-tab.go +++ b/commands/pin-tab.go @@ -1,8 +1,6 @@ package commands import ( - "fmt" - "git.sr.ht/~rjarry/aerc/widgets" ) @@ -21,10 +19,6 @@ func (PinTab) Complete(aerc *widgets.Aerc, args []string) []string { } func (PinTab) Execute(aerc *widgets.Aerc, args []string) error { - if len(args) != 1 { - return fmt.Errorf("Usage: %s", args[0]) - } - switch args[0] { case "pin-tab": aerc.PinTab() |