diff options
Diffstat (limited to 'commands')
-rw-r--r-- | commands/term-close.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/commands/term-close.go b/commands/term-close.go index 30f3392..ae2b55b 100644 --- a/commands/term-close.go +++ b/commands/term-close.go @@ -7,12 +7,13 @@ import ( ) func init() { - Register("term-close", TermClose) + // TODO: Move this command into a terminal-specific command set + Register("close", TermClose) } func TermClose(aerc *widgets.Aerc, args []string) error { if len(args) != 1 { - return errors.New("Usage: term-close") + return errors.New("Usage: close") } thost, ok := aerc.SelectedTab().(*widgets.TermHost) if !ok { |