diff --git a/internal/frontend/cli/frontend.go b/internal/frontend/cli/frontend.go index 7cb5abfd..1105da98 100644 --- a/internal/frontend/cli/frontend.go +++ b/internal/frontend/cli/frontend.go @@ -143,14 +143,14 @@ func New( //nolint:funlen Help: "choose not to list the All Mail folder in your local client", } allMailCmd.AddCmd(&ishell.Cmd{ - Name: "disable", + Name: "hide", Help: "All Mail folder will not be listed in your local client", - Func: fe.disableAllMail, + Func: fe.hideAllMail, }) allMailCmd.AddCmd(&ishell.Cmd{ - Name: "enable", + Name: "show", Help: "All Mail folder will be listed in your local client", - Func: fe.enableAllMail, + Func: fe.showAllMail, }) fe.AddCmd(allMailCmd) diff --git a/internal/frontend/cli/system.go b/internal/frontend/cli/system.go index 273a9e93..a25b994c 100644 --- a/internal/frontend/cli/system.go +++ b/internal/frontend/cli/system.go @@ -152,7 +152,7 @@ func (f *frontendCLI) disallowProxy(c *ishell.Context) { } } -func (f *frontendCLI) disableAllMail(c *ishell.Context) { +func (f *frontendCLI) hideAllMail(c *ishell.Context) { if !f.bridge.IsAllMailVisible() { f.Println("All Mail folder is not listed in your local client.") return @@ -165,7 +165,7 @@ func (f *frontendCLI) disableAllMail(c *ishell.Context) { } } -func (f *frontendCLI) enableAllMail(c *ishell.Context) { +func (f *frontendCLI) showAllMail(c *ishell.Context) { if f.bridge.IsAllMailVisible() { f.Println("All Mail folder is listed in your local client.") return