diff --git a/src/config.ts b/src/config.ts index d73a40a2..5d620b3a 100644 --- a/src/config.ts +++ b/src/config.ts @@ -192,7 +192,7 @@ const DEFAULTS = o({ sanitize: "sanitise", tutorial: "tutor", h: "help", - unmute: "mute -u", + unmute: "mute unmute", authors: "credits", openwith: "hint -W", "!": "exclaim", diff --git a/src/excmds.ts b/src/excmds.ts index 859f9cf8..0b8384b1 100644 --- a/src/excmds.ts +++ b/src/excmds.ts @@ -1802,7 +1802,7 @@ export async function pin() { /** Mute current tab or all tabs. Passing "all" to the excmd will operate on the mute state of all tabs. - Passing "-u" to the excmd will unmute. + Passing "unmute" to the excmd will unmute. Passing "toggle" to the excmd will toggle the state of `browser.tabs.tab.MutedInfo` @param string[] muteArgs */ @@ -1819,7 +1819,7 @@ export async function mute(...muteArgs: string[]): Promise { args.shift() argParse(args) } - if (args[0] === "-u") { + if (args[0] === "unmute") { mute = false args.shift() argParse(args)