mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-03 16:55:46 +01:00
Fix error messages for :contacts.
This commit is contained in:
@@ -180,9 +180,13 @@ function Addressbook() //{{{
|
|||||||
addresses.push([displayName, card.primaryEmail]);
|
addresses.push([displayName, card.primaryEmail]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (addresses.length < 1)
|
if (addresses.length < 1)
|
||||||
{
|
{
|
||||||
liberator.echoerr("E94: No matching contact for " + filter, commandline.FORCE_SINGLELINE);
|
if (!filter)
|
||||||
|
liberator.echoerr("Exxx: No contacts", commandline.FORCE_SINGLELINE);
|
||||||
|
else
|
||||||
|
liberator.echoerr("Exxx: No contacts matching string '" + filter + "'", commandline.FORCE_SINGLELINE);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user