Rename '-u' to 'unmute', reflect that in documentation and config.ts

This commit is contained in:
Anton Vilhelm Ásgeirsson 2018-07-16 09:28:50 +00:00
parent 4e8d3f707b
commit 171bed6eac
2 changed files with 3 additions and 3 deletions

View file

@ -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",

View file

@ -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<void> {
args.shift()
argParse(args)
}
if (args[0] === "-u") {
if (args[0] === "unmute") {
mute = false
args.shift()
argParse(args)