mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
GODT-1794: CLI wording
This commit is contained in:
@ -143,14 +143,14 @@ func New( //nolint:funlen
|
|||||||
Help: "choose not to list the All Mail folder in your local client",
|
Help: "choose not to list the All Mail folder in your local client",
|
||||||
}
|
}
|
||||||
allMailCmd.AddCmd(&ishell.Cmd{
|
allMailCmd.AddCmd(&ishell.Cmd{
|
||||||
Name: "disable",
|
Name: "hide",
|
||||||
Help: "All Mail folder will not be listed in your local client",
|
Help: "All Mail folder will not be listed in your local client",
|
||||||
Func: fe.disableAllMail,
|
Func: fe.hideAllMail,
|
||||||
})
|
})
|
||||||
allMailCmd.AddCmd(&ishell.Cmd{
|
allMailCmd.AddCmd(&ishell.Cmd{
|
||||||
Name: "enable",
|
Name: "show",
|
||||||
Help: "All Mail folder will be listed in your local client",
|
Help: "All Mail folder will be listed in your local client",
|
||||||
Func: fe.enableAllMail,
|
Func: fe.showAllMail,
|
||||||
})
|
})
|
||||||
fe.AddCmd(allMailCmd)
|
fe.AddCmd(allMailCmd)
|
||||||
|
|
||||||
|
|||||||
@ -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() {
|
if !f.bridge.IsAllMailVisible() {
|
||||||
f.Println("All Mail folder is not listed in your local client.")
|
f.Println("All Mail folder is not listed in your local client.")
|
||||||
return
|
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() {
|
if f.bridge.IsAllMailVisible() {
|
||||||
f.Println("All Mail folder is listed in your local client.")
|
f.Println("All Mail folder is listed in your local client.")
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user